Skip to content

Commit 7fff0c1

Browse files
authored
Merge pull request #41 from defnax/chatstatus
Added to show refused in distant chat
2 parents a6faeb4 + 5c3efdc commit 7fff0c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ void PopupDistantChatDialog::handleEvent_main_thread(std::shared_ptr<const RsEve
124124
_status_label->setToolTip(msg);
125125
getChatWidget()->updateStatusString("%1", msg, true);
126126
getChatWidget()->blockSending(tr( "The distant peer refuses distant chat." ));
127+
getChatWidget()->addChatMsg(true, tr("Chat status"), QDateTime::currentDateTime(), QDateTime::currentDateTime()
128+
, tr("The distant peer refuses distant chat."), ChatWidget::MSGTYPE_SYSTEM);
127129
setPeerStatus(RsStatusValue::RS_STATUS_OFFLINE);
128130
break ;
129131

0 commit comments

Comments
 (0)