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

Bind account early in timeline & notification view models #4577

Merged
merged 2 commits into from
Aug 2, 2024

Conversation

charlag
Copy link
Collaborator

@charlag charlag commented Jul 17, 2024

This will make it less likely that data from different accounts will get mixed up.

I checked the codepaths and we shouldn't hit viewModel if account is not there but this is still a bit of risk to assume that so I'll investigate if we can pass in more things and use DI to make it more secure

Verified

This commit was signed with the committer’s verified signature.
nikclayton Nik Clayton
This will make it less likely that data from different accounts will
get mixed up
@Tak
Copy link
Collaborator

Tak commented Jul 21, 2024

Looks reasonable?

Verified

This commit was signed with the committer’s verified signature.
nikclayton Nik Clayton
@connyduck connyduck merged commit 18b943f into develop Aug 2, 2024
3 checks passed
@connyduck connyduck deleted the fix-wrong-account-data branch August 2, 2024 15:13
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.

None yet

3 participants