s/m.room.color_scheme/org.matrix.room.color_scheme/g # to make kegan happier
This commit is contained in:
parent
4f14ead741
commit
3934b42ac8
4 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ module.exports = React.createClass({
|
|||
getInitialState: function() {
|
||||
// work out the initial color index
|
||||
var room_color_index = undefined;
|
||||
var color_scheme_event = this.props.room.getAccountData("m.room.color_scheme");
|
||||
var color_scheme_event = this.props.room.getAccountData("org.matrix.room.color_scheme");
|
||||
if (color_scheme_event) {
|
||||
var color_scheme = color_scheme_event.getContent();
|
||||
if (color_scheme.primary_color) color_scheme.primary_color = color_scheme.primary_color.toLowerCase();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue