mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +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
|
// Listen for when a room is viewed
|
||||||
dis.register(onAction);
|
dis.register(onAction);
|
||||||
function onAction(payload) {
|
function onAction(payload) {
|
||||||
if (payload.action !== "view_room")
|
if (payload.action !== "view_room") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
currentRoomId = payload.room_id;
|
currentRoomId = payload.room_id;
|
||||||
|
|
Loading…
Reference in a new issue