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
Lint
Lint Not Applicable
Unit
Tests Not Applicable