Make ui not show chat instantly after have chat

This commit is contained in:
Night Kaly 2024-09-25 10:53:07 +01:00
parent c0a1b69223
commit d4b5a20c17
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

View file

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