mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 06:21:03 +02:00
s/m.server_notices/m.server_notice/
This commit is contained in:
parent
05bf200a72
commit
d84ecbe97c
@ -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();
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user