1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 10:33:01 +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 1847025213
commit 5851cb2dd8
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].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;