1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Merge pull request #1675 from turt2live/travis/fix-granular-again

Fix a couple more issues with granular settings
This commit is contained in:
David Baker
2018-01-05 11:48:32 +00:00
committed by GitHub
5 changed files with 18 additions and 10 deletions

View File

@@ -96,6 +96,8 @@ const commands = {
colorScheme.primary_color = matches[1];
if (matches[4]) {
colorScheme.secondary_color = matches[4];
} else {
colorScheme.secondary_color = colorScheme.primary_color;
}
return success(
SettingsStore.setValue("roomColor", roomId, SettingLevel.ROOM_ACCOUNT, colorScheme),