Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(core): fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Monsterovich committed Dec 27, 2018
1 parent 96ad27f commit 7a437c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/widget/form/groupchatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a437c7

Please sign in to comment.