mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 15:43:02 +01:00
Increase how long we wait after joining a group before showing peer join messages
This commit is contained in:
parent
32efac931c
commit
cc80da00fc
@ -991,7 +991,7 @@ static void groupchat_onGroupPeerJoin(ToxWindow *self, Tox *m, uint32_t groupnum
|
|||||||
++chat->max_idx;
|
++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");
|
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);
|
write_to_log("has joined the room", peer->name, self->chatwin->log, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user