Skip to content

Commit

Permalink
[commhistoryd] Fix group matching when there are multiple recipients.…
Browse files Browse the repository at this point in the history
… Fixes JB#55101

When you find an individual chat, use it. Incoming messages are not added to group chats.
  • Loading branch information
Anton Zernin committed Aug 10, 2021
1 parent 7e00f4a commit 5b59f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textchannellistener.cpp
Expand Up @@ -1516,7 +1516,7 @@ void TextChannelListener::updateCurrentGroup(int start, int end, const QModelInd
} else if (recipients.containsMatch(recipient)) {
m_Group = group;
qCDebug(lcCommhistoryd) << Q_FUNC_INFO << "found existing group:" << m_Group.id();
break;
return;
}
}
}
Expand Down

0 comments on commit 5b59f19

Please sign in to comment.