From 43bb8c561d3e70e7b19682bde727338d520d2164 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 17 Jan 2018 18:10:19 +0000 Subject: [PATCH] add comment Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/settings/handlers/RoomAccountSettingsHandler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings/handlers/RoomAccountSettingsHandler.js b/src/settings/handlers/RoomAccountSettingsHandler.js index 72355b43be..74dbf9eed0 100644 --- a/src/settings/handlers/RoomAccountSettingsHandler.js +++ b/src/settings/handlers/RoomAccountSettingsHandler.js @@ -35,6 +35,7 @@ export default class RoomAccountSettingsHandler extends SettingsHandler { if (settingName === "roomColor") { // The event content should already be in an appropriate format, we just need // to get the right value. + // don't fallback to {} because thats truthy and would imply there is an event specifying tint return this._getSettings(roomId, "org.matrix.room.color_scheme"); }