Fixed assert on profile photo update
This commit is contained in:
parent
2fc13be7ef
commit
9f070a27a4
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue