From f08ec3498a2bf5499c33a746fca310b026093fa0 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 22 Feb 2018 10:53:06 +0000 Subject: [PATCH] Fix bug that prevented tint updates --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 8ceba2a850..b71978647f 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -627,8 +627,8 @@ module.exports = React.createClass({ const room = this.state.room; if (!room) return; - const color_scheme = SettingsStore.getValue("roomColor", room.room_id); console.log("Tinter.tint from updateTint"); + const color_scheme = SettingsStore.getValue("roomColor", room.roomId); Tinter.tint(color_scheme.primary_color, color_scheme.secondary_color); },