1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(core): fixed syntax

This commit is contained in:
Monsterovich 2018-12-27 12:48:04 +02:00
parent 96ad27f644
commit 7a437c7449

View File

@ -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