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: refactoring self user fetch [#WPB-15190] #3801

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sbakhtiarov
Copy link
Contributor

@sbakhtiarov sbakhtiarov commented Jan 14, 2025

TaskWPB-15190 [Android] race condition in getKnownUser causes multible requests to update

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

What's new in this PR?

Related to: wireapp/kalium#3229

Refactoring getting / observe self user. New GetSelfUserUseCase use case to get self user is used where appropriate instead of observing until first value is received.

@echoes-hq echoes-hq bot added the echoes: technical-roadmap Work contributing to the Technical Roadmap, to improve our velocity or reduce the technical debt. label Jan 14, 2025
@sbakhtiarov sbakhtiarov force-pushed the fix/self-user-refactoring branch 2 times, most recently from 1b3b34d to ce12e33 Compare January 15, 2025 14:27
Copy link
Contributor

@sbakhtiarov looks like you are rolling back kalium to a previous commitish.

This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.

develop This PR
b016dd9f6d3d053be275fe57e3b50ecb68b32d14 b304f302a20874093809dea89e03016515d7c9fe

Is this intentional?

Copy link
Contributor

@saleniuk saleniuk left a comment

Choose a reason for hiding this comment

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

one small suggestion but I'm approving as the rest looks ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap Work contributing to the Technical Roadmap, to improve our velocity or reduce the technical debt. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants