regression: load user on room info (#5425)
* fix: navigate to myself from mention * fix: load user on room info * minor tweak --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
b5c15d6835
commit
a194e47d2d
|
@ -167,9 +167,10 @@ const RoomInfoView = (): React.ReactElement => {
|
|||
} catch {
|
||||
// do nothing
|
||||
}
|
||||
} else {
|
||||
const r = handleRoles(roomUser);
|
||||
if (r) setRoomUser({ ...roomUser, roles: r });
|
||||
}
|
||||
const r = handleRoles(roomUser);
|
||||
if (r) setRoomUser({ ...roomUser, roles: r });
|
||||
};
|
||||
|
||||
const loadRoom = async () => {
|
||||
|
|
Loading…
Reference in New Issue