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
This commit is contained in:
csoler 2015-04-23 18:54:44 +00:00
parent 7b55fc90ff
commit a63829b4ec

View File

@ -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;