mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-18 12:17:03 +02:00
Missing curly bracket
This commit is contained in:
parent
fa3387b326
commit
cb4df84d49
@ -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 New Issue
Block a user