Commit bbe52226 authored by Vysheng's avatar Vysheng

Fixed assert on profile photo update

parent 62bc5c71
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment