fixed missing sendTime in distant chat, causing inconsistent display in GUI

This commit is contained in:
csoler 2016-04-20 18:08:26 -04:00
parent 80a9fec54f
commit d017771650

View File

@ -264,6 +264,7 @@ bool DistantChatService::initiateDistantChatConnexion(const RsGxsId& to_gxs_id,
RsChatMsgItem *item = new RsChatMsgItem;
item->message = "[Starting distant chat. Please wait for secure tunnel to be established]" ;
item->chatFlags = RS_CHAT_FLAG_PRIVATE ;
item->sendTime = time(NULL) ;
item->PeerId(RsPeerId(tunnel_id)) ;
handleRecvChatMsgItem(item) ;