s/m.server_notices/m.server_notice/

pull/21833/head
David Baker 2018-08-13 13:53:38 +01:00
parent 05bf200a72
commit d84ecbe97c
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ const LoggedInView = React.createClass({
onRoomStateEvents: function(ev, state) {
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();
}
},