forked from mystiq/hydrogen-web
Fix bug when timeline is empty
This commit is contained in:
parent
b2eaf0f155
commit
7dc8648fec
1 changed files with 2 additions and 2 deletions
|
@ -284,10 +284,10 @@ export class Sync3 {
|
||||||
|
|
||||||
const roomv2Response = {
|
const roomv2Response = {
|
||||||
timeline: {
|
timeline: {
|
||||||
events: roomResponse.timeline,
|
events: roomResponse.timeline || [],
|
||||||
},
|
},
|
||||||
state: {
|
state: {
|
||||||
events: roomResponse.required_state,
|
events: roomResponse.required_state || [],
|
||||||
},
|
},
|
||||||
account_data: null,
|
account_data: null,
|
||||||
summary: null,
|
summary: null,
|
||||||
|
|
Loading…
Reference in a new issue