mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
30 seconds is way too long.
This commit is contained in:
parent
82c60d6f34
commit
8dd33bb306
|
@ -733,7 +733,7 @@ static void send_names(Group_Chat *chat)
|
||||||
if (is_timeout(chat->last_sent_nick, 180))
|
if (is_timeout(chat->last_sent_nick, 180))
|
||||||
if (group_send_nick(chat, chat->nick, chat->nick_len) > 0) {
|
if (group_send_nick(chat, chat->nick, chat->nick_len) > 0) {
|
||||||
if (!chat->last_sent_nick)
|
if (!chat->last_sent_nick)
|
||||||
chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 30;
|
chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 10;
|
||||||
else
|
else
|
||||||
chat->last_sent_nick = unix_time();
|
chat->last_sent_nick = unix_time();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user