diff --git a/src/Notifier.js b/src/Notifier.js
index 041b91f4b2c..43d599ae0d5 100644
--- a/src/Notifier.js
+++ b/src/Notifier.js
@@ -120,7 +120,7 @@ const Notifier = {
console.warn(`${room.roomId} has custom notification sound event, but no url key`);
return null;
}
-
+
return {
url: MatrixClientPeg.get().mxcUrlToHttp(content.url),
name: content.name,
@@ -138,7 +138,7 @@ const Notifier = {
let audioElement = selector;
if (!selector) {
if (!sound) {
- console.error("Tried to play alert sound but missing #messageAudio")
+ console.error("Tried to play alert sound but missing #messageAudio");
return;
}
audioElement = new Audio(sound.url);
@@ -150,7 +150,7 @@ const Notifier = {
audioElement.play();
}).catch((ex) => {
console.warn("Caught error when trying to fetch room notification sound:", ex);
- })
+ });
},
start: function() {
diff --git a/src/components/views/dialogs/RoomSettingsDialog.js b/src/components/views/dialogs/RoomSettingsDialog.js
index 733c5002f57..caed9580031 100644
--- a/src/components/views/dialogs/RoomSettingsDialog.js
+++ b/src/components/views/dialogs/RoomSettingsDialog.js
@@ -23,7 +23,7 @@ import RolesRoomSettingsTab from "../settings/tabs/room/RolesRoomSettingsTab";
import GeneralRoomSettingsTab from "../settings/tabs/room/GeneralRoomSettingsTab";
import SecurityRoomSettingsTab from "../settings/tabs/room/SecurityRoomSettingsTab";
import NotificationSettingsTab from "../settings/tabs/room/NotificationSettingsTab";
-import sdk from "../../../index";RolesRoomSettingsTab
+import sdk from "../../../index";
import MatrixClientPeg from "../../../MatrixClientPeg";
export default class RoomSettingsDialog extends React.Component {
@@ -54,7 +54,7 @@ export default class RoomSettingsDialog extends React.Component {
_td("Notifications"),
"mx_RoomSettingsDialog_rolesIcon",