From 5c3efdc8664da60de2e2e3f572e7517666c27771 Mon Sep 17 00:00:00 2001 From: defnax <9952056+defnax@users.noreply.github.com> Date: Sun, 7 Dec 2025 11:57:05 +0100 Subject: [PATCH] Added to show refused in distant chat --- retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp index b784189d6..22840ef9c 100644 --- a/retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp +++ b/retroshare-gui/src/gui/chat/PopupDistantChatDialog.cpp @@ -124,6 +124,8 @@ void PopupDistantChatDialog::handleEvent_main_thread(std::shared_ptrsetToolTip(msg); getChatWidget()->updateStatusString("%1", msg, true); 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); break ;