diff --git a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp index 0138e16f4..0f9f26240 100644 --- a/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp +++ b/retroshare-gui/src/gui/chat/ChatLobbyDialog.cpp @@ -319,6 +319,16 @@ void ChatLobbyDialog::initParticipantsContextMenu(QMenu *contextMnu, QListsetData(QString::fromStdString(gxsid.toStdString())); + if (!gxsid.isNull() && rsIdentity->isOwnId(gxsid)) + { + distantChatAct->setVisible(false); + sendMessageAct->setVisible(false); + muteAct->setVisible(false); + votePositiveAct->setVisible(false); + voteNeutralAct->setVisible(false); + voteNegativeAct->setVisible(false); + } + if(!gxsid.isNull() && !rsIdentity->isOwnId(gxsid)) { distantChatAct->setEnabled(true);