diff --git a/toxcore/group_chats.c b/toxcore/group_chats.c index 1f76878b..53ef69d3 100644 --- a/toxcore/group_chats.c +++ b/toxcore/group_chats.c @@ -471,16 +471,6 @@ static int handle_sendnodes(Group_Chat *chat, IP_Port source, int peernum, const int ok = add_closepeer(chat, chat->group[peernum].client_id, source); - if (chat->assoc) { - ippts_send.ip_port = chat->group[peernum].ping_via; - ippts_send.timestamp = chat->group[peernum].last_pinged; - - IP_Port ipp_recv; - ipp_recv = source; - - Assoc_add_entry(chat->assoc, contents.nodes[i].client_id, &ippts_send, &ipp_recv, ok == 0 ? 1 : 0); - } - return 0; }