Commit e2cc2ed7 authored by Vysheng's avatar Vysheng

Fixed bug with new message marked as read

parent 6893fca7
......@@ -461,6 +461,7 @@ void do_send_message (union user_chat *U, const char *msg) {
memset (M, 0, sizeof (*M));
M->from_id = our_id;
M->to_id = U->id;
M->unread = 1;
if (U->id < 0) {
out_int (CODE_input_peer_chat);
out_int (-U->id);
......
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