Fixed bug with new message marked as read
This commit is contained in:
parent
6893fca713
commit
e2cc2ed7cc
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue