mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
state events are under state key
This commit is contained in:
parent
c70376e82d
commit
ffd3d740c5
@ -74,8 +74,8 @@ export default class RoomSummary {
|
|||||||
this._membership = membership;
|
this._membership = membership;
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
if (roomResponse.state_events) {
|
if (roomResponse.state) {
|
||||||
changed = roomResponse.state_events.events.reduce((changed, e) => {
|
changed = roomResponse.state.events.reduce((changed, e) => {
|
||||||
return this._processEvent(e) || changed;
|
return this._processEvent(e) || changed;
|
||||||
}, changed);
|
}, changed);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user