Fixed assert on profile photo update
This commit is contained in:
parent
62bc5c714f
commit
bbe5222651
@ -827,6 +827,7 @@ void interpreter (char *line UU) {
|
||||
}
|
||||
#undef IS_WORD
|
||||
#undef RET
|
||||
update_prompt ();
|
||||
in_readline = 0;
|
||||
}
|
||||
|
||||
|
@ -876,6 +876,7 @@ void work_update (struct connection *c UU, long long msg_id UU) {
|
||||
if (y == CODE_user_profile_photo_empty) {
|
||||
} else {
|
||||
assert (y == CODE_user_profile_photo);
|
||||
fetch_long (); // photo_id
|
||||
fetch_file_location (&t);
|
||||
fetch_file_location (&t);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user