From 164c7265aa213b1388c0447a9ce273300fbe1b15 Mon Sep 17 00:00:00 2001 From: sehraf Date: Wed, 21 Oct 2015 22:40:49 +0200 Subject: [PATCH] suggestion from cyril --- retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp index 4053a0237..ccb4bd1dd 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp @@ -453,7 +453,7 @@ void ChatLobbyDialog::updateParticipantsList() if(isParticipantMuted(it2->first)) widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_red_64.png")); - else if (tLastAct < now - timeToInactivity) + else if (tLastAct + timeToInactivity < now) widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_grey_64.png")); else widgetitem->setIcon(COLUMN_ICON, QIcon(":/icons/bullet_green_64.png"));