mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Missing curly bracket
This commit is contained in:
parent
fa3387b326
commit
cb4df84d49
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ var currentRoomId = null;
|
|||
// Listen for when a room is viewed
|
||||
dis.register(onAction);
|
||||
function onAction(payload) {
|
||||
if (payload.action !== "view_room")
|
||||
if (payload.action !== "view_room") {
|
||||
return;
|
||||
}
|
||||
currentRoomId = payload.room_id;
|
||||
|
|
Loading…
Reference in a new issue