s/m.server_notices/m.server_notice/
This commit is contained in:
@@ -178,7 +178,7 @@ const LoggedInView = React.createClass({
|
|||||||
|
|
||||||
onRoomStateEvents: function(ev, state) {
|
onRoomStateEvents: function(ev, state) {
|
||||||
const roomLists = RoomListStore.getRoomLists();
|
const roomLists = RoomListStore.getRoomLists();
|
||||||
if (roomLists['m.server_notices'] && roomLists['m.server_notices'].includes(ev.getRoomId())) {
|
if (roomLists['m.server_notice'] && roomLists['m.server_notice'].some(r => r.roomId === ev.getRoomId())) {
|
||||||
this._updateServerNoticeEvents();
|
this._updateServerNoticeEvents();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user