From 7a437c74493333bb77f18418059ff329dde55340 Mon Sep 17 00:00:00 2001 From: Monsterovich Date: Thu, 27 Dec 2018 12:48:04 +0200 Subject: [PATCH] fix(core): fixed syntax --- src/widget/form/groupchatform.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/widget/form/groupchatform.cpp b/src/widget/form/groupchatform.cpp index e2af0193d..6b2e0ce88 100644 --- a/src/widget/form/groupchatform.cpp +++ b/src/widget/form/groupchatform.cpp @@ -336,8 +336,7 @@ void GroupChatForm::sendJoinLeaveMessages() if (!groupLast.contains(peerPk)) { groupLast.insert(peerPk, name); addSystemInfoMessage(tr("%1 has joined the group").arg(name), ChatMessage::INFO, QDateTime::currentDateTime()); - } - else { + } else { Friend *f = FriendList::findFriend(peerPk); if (groupLast[peerPk] != name && peers.value(peerPk) == name