From 125774ecb24194a3f43150c71d2b8821cb314100 Mon Sep 17 00:00:00 2001 From: TranRed Date: Sun, 21 Jul 2019 09:36:18 +0200 Subject: [PATCH] excluded inline whispers from latest messages in userpopup --- src/widgets/dialogs/UserInfoPopup.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widgets/dialogs/UserInfoPopup.cpp b/src/widgets/dialogs/UserInfoPopup.cpp index 92a7f395a..dbd7631cd 100644 --- a/src/widgets/dialogs/UserInfoPopup.cpp +++ b/src/widgets/dialogs/UserInfoPopup.cpp @@ -620,7 +620,8 @@ void UserInfoPopup::fillLatestMessages(){ for (size_t i = 0; i < snapshot.size(); i++) { MessagePtr message = snapshot[i]; - if ( message->loginName.compare(this->userName_, Qt::CaseInsensitive) == 0) + if ( message->loginName.compare(this->userName_, Qt::CaseInsensitive) == 0 + && !message->flags.has(MessageFlag::Whisper) ) { channelPtr->addMessage(message); }