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:
parent
f16aa35ebc
commit
1d8aafba3b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user