1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Fix RoomViewStore forgetting some details of a view room call (#7512)

This commit is contained in:
Michael Telatynski
2022-01-12 20:12:28 +00:00
committed by GitHub
parent 3a18fd8f71
commit ec6c1b8272
21 changed files with 67 additions and 57 deletions

View File

@@ -116,7 +116,10 @@ function onUserClick(event: MouseEvent, userId: string) {
}
function onAliasClick(event: MouseEvent, roomAlias: string) {
event.preventDefault();
dis.dispatch({ action: 'view_room', room_alias: roomAlias });
dis.dispatch({
action: Action.ViewRoom,
room_alias: roomAlias,
});
}
function onGroupClick(event: MouseEvent, groupId: string) {
event.preventDefault();