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
commit 350dab06a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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),