diff options
-rw-r--r-- | toxcore/LAN_discovery.h | 2 | ||||
-rw-r--r-- | toxcore/group_chats.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 @@ | |||
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | /* Interval in seconds between LAN discovery packet sending. */ | 38 | /* Interval in seconds between LAN discovery packet sending. */ |
39 | #define LAN_DISCOVERY_INTERVAL 60 | 39 | #define LAN_DISCOVERY_INTERVAL 10 |
40 | 40 | ||
41 | /* Send a LAN discovery pcaket to the broadcast address with port port. */ | 41 | /* Send a LAN discovery pcaket to the broadcast address with port port. */ |
42 | int send_LANdiscovery(uint16_t port, DHT *dht); | 42 | 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) | |||
798 | static void send_names_new_peer(Group_Chat *chat) | 798 | static void send_names_new_peer(Group_Chat *chat) |
799 | { | 799 | { |
800 | group_send_nick(chat, chat->nick, chat->nick_len); | 800 | group_send_nick(chat, chat->nick, chat->nick_len); |
801 | chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 10; | 801 | chat->last_sent_nick = (unix_time() - NICK_SEND_INTERVAL) + 15; |
802 | } | 802 | } |
803 | static void send_names(Group_Chat *chat) | 803 | static void send_names(Group_Chat *chat) |
804 | { | 804 | { |