Fixed assert on profile photo update

This commit is contained in:
Vysheng 2013-11-15 16:59:06 +04:00
parent 62bc5c714f
commit bbe5222651
2 changed files with 2 additions and 0 deletions

View File

@ -827,6 +827,7 @@ void interpreter (char *line UU) {
}
#undef IS_WORD
#undef RET
update_prompt ();
in_readline = 0;
}

View File

@ -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);
}