summaryrefslogtreecommitdiff
path: root/toxcore/group_chats.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/group_chats.c')
-rw-r--r--toxcore/group_chats.c10
1 files changed, 0 insertions, 10 deletions
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
471 471
472 int ok = add_closepeer(chat, chat->group[peernum].client_id, source); 472 int ok = add_closepeer(chat, chat->group[peernum].client_id, source);
473 473
474 if (chat->assoc) {
475 ippts_send.ip_port = chat->group[peernum].ping_via;
476 ippts_send.timestamp = chat->group[peernum].last_pinged;
477
478 IP_Port ipp_recv;
479 ipp_recv = source;
480
481 Assoc_add_entry(chat->assoc, contents.nodes[i].client_id, &ippts_send, &ipp_recv, ok == 0 ? 1 : 0);
482 }
483
484 return 0; 474 return 0;
485} 475}
486 476