1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 06:13:03 +01:00

Don't announce/alert on self group join

This commit is contained in:
jfreegman 2021-11-15 09:20:11 -05:00
parent f16aa35ebc
commit 1d8aafba3b
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -331,7 +331,7 @@ int init_groupchat_win(Tox *m, uint32_t groupnumber, const char *groupname, size
groupchats[i].active = true; groupchats[i].active = true;
groupchats[i].groupnumber = groupnumber; groupchats[i].groupnumber = groupnumber;
groupchats[i].num_peers = 0; groupchats[i].num_peers = 0;
groupchats[i].time_connected = 0; groupchats[i].time_connected = get_unix_time();
if (i == max_groupchat_index) { if (i == max_groupchat_index) {
++max_groupchat_index; ++max_groupchat_index;