[network/ruqola] src/widgets/room/delegate: Thread is not support for encrypted message

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 9890c068819f060213d03440b0876c50e28d6ccb by Laurent Montel.
Committed on 10/08/2026 at 05:28.
Pushed by mlaurent into branch 'master'.

Thread is not support for encrypted message

M  +1    -1    src/widgets/room/delegate/messagelistdelegate.cpp

https://invent.kde.org/network/ruqola/-/commit/9890c068819f060213d03440b0876c50e28d6ccb

diff --git a/src/widgets/room/delegate/messagelistdelegate.cpp b/src/widgets/room/delegate/messagelistdelegate.cpp
index 54e0929a4c..62996f8ed0 100644
--- a/src/widgets/room/delegate/messagelistdelegate.cpp
+++ b/src/widgets/room/delegate/messagelistdelegate.cpp
@@ -737,7 +737,7 @@ void MessageListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &o
     // drawFocus(painter, option, messageRect);
 
     // debug painter->drawRect(option.rect.adjusted(0, 0, -1, -1));
-    if (!isSystemMessage(message) && message->hoverHighlight() && mEmojiMenuEnabled) {
+    if (!isSystemMessage(message) && !message->isEncryptedMessage() && message->hoverHighlight() && mEmojiMenuEnabled) {
         mAddReactionIcon.paint(painter, layout.addReactionRect, Qt::AlignCenter);
         mReplyInThreadIcon.paint(painter, layout.replyToThreadRect, Qt::AlignCenter);
 #if HAVE_TEXT_TO_SPEECH
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.