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

CHT-429. Reactions are added in wrong order #949

Merged
merged 3 commits into from
Sep 24, 2020

Conversation

jgandres
Copy link
Contributor

No description provided.

To preserve the order of reactions, we need to order query results
by rowId, when we are retrieving them from cache.

Replace multimap by a vector of pairs to preserve the order.
- use stl containers that preserve the order of inserted elements
- improve algorithm
@JenkinsMega
Copy link

karere-native-linux-PRs FAILED (1571) 👎

@JenkinsMega
Copy link

karere-crossandroid-PRs SUCCEDED (63) 👍

@lhr000lhrmega
Copy link
Contributor

Screen Shot 2020-09-22 at 9 30 57 AM

fixed,looks good now.

@jgandres
Copy link
Contributor Author

trigger compilation

@JenkinsMega
Copy link

karere-crossandroid-PRs SUCCEDED (64) 👍

@JenkinsMega
Copy link

karere-native-linux-PRs FAILED (1572) 👎

@jgandres jgandres merged commit 7f169e9 into develop Sep 24, 2020
@jgandres jgandres deleted the fix/chat-reactions-order branch September 24, 2020 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants