Skip to content

fix: suspend function in copy method (WPB-20871)#4611

Merged
sbakhtiarov merged 1 commit intodevelopfrom
fix/corrupted-state-copy
Feb 23, 2026
Merged

fix: suspend function in copy method (WPB-20871)#4611
sbakhtiarov merged 1 commit intodevelopfrom
fix/corrupted-state-copy

Conversation

@sbakhtiarov
Copy link
Contributor

@sbakhtiarov sbakhtiarov commented Feb 23, 2026

https://wearezeta.atlassian.net/browse/WPB-20871

https://wearezeta.atlassian.net/browse/WPB-20871

What's new in this PR?

Issues

Inconsistent behavior of the Read Receipt toggle in Conversation Options.

Causes (Optional)

Calling suspend function in data class copy method.

Solutions

  • Moved suspend function call out of the copy method.
  • Fixed same issue in 5 other view model classes.

@sonarqubecloud
Copy link

Copy link
Member

@MohamadJaara MohamadJaara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch

@sbakhtiarov sbakhtiarov added this pull request to the merge queue Feb 23, 2026
Merged via the queue into develop with commit 17b50e8 Feb 23, 2026
16 of 17 checks passed
@sbakhtiarov sbakhtiarov deleted the fix/corrupted-state-copy branch February 23, 2026 16:22
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.

3 participants