We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6ac1de + ea1d13c commit a6faeb4Copy full SHA for a6faeb4
1 file changed
retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp
@@ -87,7 +87,6 @@ void PopupDistantChatDialog::init(const ChatId &chat_id, const QString &/*title*
87
88
ui.ownAvatarWidget->setOwnId() ; // sets the flag
89
ui.ownAvatarWidget->setId(chat_id) ; // sets the actual Id
90
- ui.avatarWidget->setId(chat_id);
91
92
_status_label->setIcon(FilesDefs::getIconFromQtResourcePath(IMAGE_GRY_LED));
93
auto msg = tr("Remote status unknown.");
@@ -112,6 +111,8 @@ void PopupDistantChatDialog::handleEvent_main_thread(std::shared_ptr<const RsEve
112
111
std::cerr << "Got event!" << std::endl;
113
std::cerr << "Event code = " << (int)ev->mEventCode << std::endl;
114
+ ui.avatarWidget->setId(ChatId(_tunnel_id));
115
+
116
QString msg;
117
118
switch(ev->mEventCode)
0 commit comments