diff --git a/toxcore/LAN_discovery.h b/toxcore/LAN_discovery.h index 58bd2bee..fcb094e4 100644 --- a/toxcore/LAN_discovery.h +++ b/toxcore/LAN_discovery.h @@ -36,7 +36,7 @@ #endif /* Interval in seconds between LAN discovery packet sending. */ -#define LAN_DISCOVERY_INTERVAL 60 +#define LAN_DISCOVERY_INTERVAL 10 /* Send a LAN discovery pcaket to the broadcast address with port port. */ int send_LANdiscovery(uint16_t port, DHT *dht); diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c index e686ee5d..17914038 100644 --- a/toxcore/group_chats.c +++ b/toxcore/group_chats.c @@ -798,7 +798,7 @@ static void del_dead_peers(Group_Chat *chat) static void send_names_new_peer(Group_Chat *chat) { group_send_nick(chat, chat->nick, chat->nick_len); - chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 10; + chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 15; } static void send_names(Group_Chat *chat) {