From a63829b4ec847d1743eb0f75a3ba4ab0ce0816c9 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 23 Apr 2015 18:54:44 +0000 Subject: [PATCH] fixed error msg due to broadcast chat trying to call statusUpdate() git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8160 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index e27560e79..79c48b445 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -1479,10 +1479,11 @@ void ChatWidget::setCurrentFileName(const QString &fileName) void ChatWidget::updateStatus(const QString &peer_id, int status) { - if (chatType() == CHATTYPE_LOBBY) { + if (! (chatType() == CHATTYPE_PRIVATE || chatType() == CHATTYPE_DISTANT)) + { // updateTitle is used return; - } + } // make virtual peer id from gxs id in case of distant chat RsPeerId vpid;