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:
parent
96ad27f644
commit
7a437c7449
|
@ -336,8 +336,7 @@ void GroupChatForm::sendJoinLeaveMessages()
|
||||||
if (!groupLast.contains(peerPk)) {
|
if (!groupLast.contains(peerPk)) {
|
||||||
groupLast.insert(peerPk, name);
|
groupLast.insert(peerPk, name);
|
||||||
addSystemInfoMessage(tr("%1 has joined the group").arg(name), ChatMessage::INFO, QDateTime::currentDateTime());
|
addSystemInfoMessage(tr("%1 has joined the group").arg(name), ChatMessage::INFO, QDateTime::currentDateTime());
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
Friend *f = FriendList::findFriend(peerPk);
|
Friend *f = FriendList::findFriend(peerPk);
|
||||||
if (groupLast[peerPk] != name
|
if (groupLast[peerPk] != name
|
||||||
&& peers.value(peerPk) == name
|
&& peers.value(peerPk) == name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user