Our code should probably compile...

This commit is contained in:
Travis Ralston 2019-10-29 14:38:39 -06:00
parent 5af6d979c2
commit 9d0d1d3b36

View file

@ -108,7 +108,7 @@ export default class RoomAccountSettingsHandler extends MatrixClientBackedSettin
// Special case allowed widgets
if (settingName === "allowedWidgets") {
return return MatrixClientPeg.get().setRoomAccountData(roomId, ALLOWED_WIDGETS_EVENT_TYPE, newValue);
return MatrixClientPeg.get().setRoomAccountData(roomId, ALLOWED_WIDGETS_EVENT_TYPE, newValue);
}
const content = this._getSettings(roomId) || {};