Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[commhistoryd] Fix group matching when there are multiple recipients. Fixes JB#55101 #1

Merged
merged 1 commit into from Aug 26, 2021

Conversation

xlise
Copy link

@xlise xlise commented Jul 23, 2021

When you find an individual chat, use it. Incoming messages are not added to group chats.

@pvuorela
Copy link
Contributor

pvuorela commented Aug 9, 2021

Commented elsewhere that this should have a new issue to tracking if there's a bug.

But I'm not either following from the commit what exactly is this fixing.

cc @blammit

… Fixes JB#55101

When you find an individual chat, use it. Incoming messages are not added to group chats.
@xlise xlise changed the title [commhistoryd] Fix group matching when there are multiple recipients. Contributes to JB#42099 [commhistoryd] Fix group matching when there are multiple recipients. Fixes JB#55101 Aug 10, 2021
@pvuorela pvuorela requested a review from blammit August 12, 2021 12:44
@pvuorela
Copy link
Contributor

Looking again, still not entirely sure from the change and the commit message on what this fixes. Only difference if there was something found on the last iteration, I think. The search if broken only on that case?

@blammit
Copy link
Contributor

blammit commented Aug 25, 2021

Yes seems the difference would be if it was found on the last iteration. In general the fix seems to make sense since the current implementation may set m_Group in line 1517 then overwrite it in line 1525.

@blammit blammit merged commit 165dedf into sailfishos:master Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants