forked from mystiq/hydrogen-web
state events are under state key
This commit is contained in:
parent
c70376e82d
commit
ffd3d740c5
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ export default class RoomSummary {
|
|||
this._membership = membership;
|
||||
changed = true;
|
||||
}
|
||||
if (roomResponse.state_events) {
|
||||
changed = roomResponse.state_events.events.reduce((changed, e) => {
|
||||
if (roomResponse.state) {
|
||||
changed = roomResponse.state.events.reduce((changed, e) => {
|
||||
return this._processEvent(e) || changed;
|
||||
}, changed);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue