From 1d8aafba3b60787aae8a2cf83aa7bac3fbd76298 Mon Sep 17 00:00:00 2001 From: jfreegman Date: Mon, 15 Nov 2021 09:20:11 -0500 Subject: [PATCH] Don't announce/alert on self group join --- src/groupchats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchats.c b/src/groupchats.c index a646cfd..3193cb6 100644 --- a/src/groupchats.c +++ b/src/groupchats.c @@ -331,7 +331,7 @@ int init_groupchat_win(Tox *m, uint32_t groupnumber, const char *groupname, size groupchats[i].active = true; groupchats[i].groupnumber = groupnumber; groupchats[i].num_peers = 0; - groupchats[i].time_connected = 0; + groupchats[i].time_connected = get_unix_time(); if (i == max_groupchat_index) { ++max_groupchat_index;