From 824fa469ef45c634ac4c525df9d7aa33cb55cfcb Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 10 Nov 2022 18:35:04 +0100 Subject: [PATCH] Don't send an empty message for member events without changes BUG: 461667 --- src/neochatroom.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/neochatroom.cpp b/src/neochatroom.cpp index 99bfcc3fc..33952c982 100644 --- a/src/neochatroom.cpp +++ b/src/neochatroom.cpp @@ -541,6 +541,9 @@ QString NeoChatRoom::eventToString(const RoomEvent &evt, Qt::TextFormat format, text += i18nc("their refers to a singular user", "updated their avatar"); } } + if (text.isEmpty()) { + text = i18nc(" changed nothing", "changed nothing"); + } return text; } case MembershipType::Leave: