mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-11 23:05:49 -05:00
Merge pull request #41 from defnax/chatstatus
Added to show refused in distant chat
This commit is contained in:
commit
7fff0c1894
1 changed files with 2 additions and 0 deletions
|
|
@ -124,6 +124,8 @@ void PopupDistantChatDialog::handleEvent_main_thread(std::shared_ptr<const RsEve
|
||||||
_status_label->setToolTip(msg);
|
_status_label->setToolTip(msg);
|
||||||
getChatWidget()->updateStatusString("%1", msg, true);
|
getChatWidget()->updateStatusString("%1", msg, true);
|
||||||
getChatWidget()->blockSending(tr( "The distant peer refuses distant chat." ));
|
getChatWidget()->blockSending(tr( "The distant peer refuses distant chat." ));
|
||||||
|
getChatWidget()->addChatMsg(true, tr("Chat status"), QDateTime::currentDateTime(), QDateTime::currentDateTime()
|
||||||
|
, tr("The distant peer refuses distant chat."), ChatWidget::MSGTYPE_SYSTEM);
|
||||||
setPeerStatus(RsStatusValue::RS_STATUS_OFFLINE);
|
setPeerStatus(RsStatusValue::RS_STATUS_OFFLINE);
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue