Added Patch from Phenom AddChatMutedIconActivity_v0.6_7355

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7390 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-05-29 15:19:19 +00:00
parent 2ae9f2d50d
commit 6d8f567a58

View File

@ -379,7 +379,8 @@ void ChatLobbyDialog::updateParticipantsList()
time_t tLastAct=widgetitem->text(COLUMN_ACTIVITY).toInt(); time_t tLastAct=widgetitem->text(COLUMN_ACTIVITY).toInt();
time_t now = time(NULL); time_t now = time(NULL);
if (tLastAct<now-60*30) widgetitem->setIcon(COLUMN_ICON, QIcon(":/images/grayled.png")); if (tLastAct<now-60*30)
widgetitem->setIcon(COLUMN_ICON, QIcon(isParticipantMuted(participant)?":/images/ledoff1.png":":/images/grayled.png"));
std::string nickName; std::string nickName;
rsMsgs->getNickNameForChatLobby(lobbyId, nickName); rsMsgs->getNickNameForChatLobby(lobbyId, nickName);