Page MenuHomePhorge

Fix loading room page when no such member event is in local state
ClosedPublic

Authored by tusooa on Jul 1 2024, 4:45 PM.

Details

Summary

When the local state contains no member event for some member, it would return an empty event as the member event for UserPage. Thus the auto-load mechanism for UserPage would not work. This fixes the problem by passing the userId directly.

Type: fix

Test Plan

Go to a room where the member event is missing for some timeline event. Click on the avatar of the member. Verify that the member's actual name and avatar is loaded in UserPage.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 125
Build 239: GitLab CI for kazv
Build 238: arc lint + arc unit