1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-18 15:17:46 +02:00

Increase how long we wait after joining a group before showing peer join messages

This commit is contained in:
jfreegman 2022-03-09 18:43:45 -05:00
parent 32efac931c
commit cc80da00fc
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -991,7 +991,7 @@ static void groupchat_onGroupPeerJoin(ToxWindow *self, Tox *m, uint32_t groupnum
++chat->max_idx;
}
if (timed_out(chat->time_connected, 7)) { /* ignore join messages when we first connect to the group */
if (timed_out(chat->time_connected, 60)) { /* ignore join messages when we first connect to the group */
line_info_add(self, true, peer->name, NULL, CONNECTION, 0, GREEN, "has joined the room");
write_to_log("has joined the room", peer->name, self->chatwin->log, true);