1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-26 04:01:04 +03:00

WIP all new roomsettings

This commit is contained in:
Matthew Hodgson
2016-01-13 13:15:13 +00:00
parent bd226609d0
commit c9c496f0e5
7 changed files with 161 additions and 67 deletions

View File

@ -360,7 +360,7 @@ module.exports = React.createClass({
var theAlias = MatrixTools.getCanonicalAliasForRoom(room);
if (theAlias) presentedId = theAlias;
var color_scheme_event = room.getAccountData("m.room.color_scheme");
var color_scheme_event = room.getAccountData("org.matrix.room.color_scheme");
var color_scheme = {};
if (color_scheme_event) {
color_scheme = color_scheme_event.getContent();