Make ui not show chat instantly after have chat
This commit is contained in:
parent
c0a1b69223
commit
d4b5a20c17
1 changed files with 0 additions and 1 deletions
|
@ -122,7 +122,6 @@ void *receive_worker(void *arg)
|
||||||
decrypted[data_len] = '\0';
|
decrypted[data_len] = '\0';
|
||||||
/* TODO: Use mutext before add messgae */
|
/* TODO: Use mutext before add messgae */
|
||||||
add_message(from, to, decrypted, data_len, time(NULL));
|
add_message(from, to, decrypted, data_len, time(NULL));
|
||||||
show_chat(from);
|
|
||||||
send_notification(from, decrypted);
|
send_notification(from, decrypted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue