added notifiction of denying conversation for distant chat

This commit is contained in:
csoler 2015-12-27 22:16:04 -05:00
parent 9dfac71822
commit a80a6669b6
6 changed files with 41 additions and 8 deletions

View file

@ -349,7 +349,7 @@ void p3GxsTunnelService::handleRecvTunnelDataItem(const RsGxsTunnelId& tunnel_id
}
}
if(service->acceptDataFromPeer(peer_from))
if(service->acceptDataFromPeer(peer_from,tunnel_id))
service->receiveData(tunnel_id,item->data,item->data_size) ;
item->data = NULL ; // avoids deletion, since the client has the memory now

View file

@ -32,7 +32,7 @@
#include "gxstunnel/rsgxstunnelitems.h"
#define GXS_TUNNEL_ITEM_DEBUG 1
//#define GXS_TUNNEL_ITEM_DEBUG 1
std::ostream& RsGxsTunnelDHPublicKeyItem::print(std::ostream &out, uint16_t indent)
{