From cc80da00fc92593ab30617d067e7ee4f579b3e8e Mon Sep 17 00:00:00 2001 From: jfreegman Date: Wed, 9 Mar 2022 18:43:45 -0500 Subject: [PATCH] Increase how long we wait after joining a group before showing peer join messages --- src/groupchats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchats.c b/src/groupchats.c index f9c3d1c..7f392ed 100644 --- a/src/groupchats.c +++ b/src/groupchats.c @@ -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);