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

fix: Conversation verification changed message showing #2413

Merged

Conversation

borichellow
Copy link
Contributor

What's new in this PR?

Issues

when conversation verification was changed, system message about if was showing only after re-opening the conversation OR if some other message was added to DB.

Causes (Optional)

System message about Proteus verification changes is added in DB layer by Trigger. This means it doesn't inform observers about changes in conversation (in DAO layer).
AND
Flow of messages in conversation was cached in ViewModel scope.

Solutions

Remove caching Flow of messages in ViewModel scope, so when user comes back to messages list from conversation details, he'll see a fresh list.

P.S. This shouldn't affect performance.

Copy link
Contributor

github-actions bot commented Nov 10, 2023

Test Results

680 tests  ±0   680 ✔️ ±0   9m 14s ⏱️ + 3m 38s
  98 suites ±0       0 💤 ±0 
  98 files   ±0       0 ±0 

Results for commit 8f9eba4. ± Comparison against base commit faf8286.

♻️ This comment has been updated with latest results.

Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1741 succeeded.

The build produced the following APK's:

Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1745 succeeded.

The build produced the following APK's:

@borichellow borichellow added this pull request to the merge queue Nov 14, 2023
Merged via the queue into develop with commit c4e246c Nov 14, 2023
11 checks passed
@borichellow borichellow deleted the fix/conversation_verification_changed_message_showing branch November 14, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants