mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
default for all flags should be false
This commit is contained in:
parent
2742162c8e
commit
879c4ff951
@ -113,9 +113,9 @@ class SummaryData {
|
|||||||
this.name = copy ? copy.name : null;
|
this.name = copy ? copy.name : null;
|
||||||
this.lastMessageBody = copy ? copy.lastMessageBody : null;
|
this.lastMessageBody = copy ? copy.lastMessageBody : null;
|
||||||
this.lastMessageTimestamp = copy ? copy.lastMessageTimestamp : null;
|
this.lastMessageTimestamp = copy ? copy.lastMessageTimestamp : null;
|
||||||
this.isEncrypted = copy ? copy.isEncrypted : null;
|
|
||||||
this.isDirectMessage = copy ? copy.isDirectMessage : null;
|
|
||||||
this.isUnread = copy ? copy.isUnread : false;
|
this.isUnread = copy ? copy.isUnread : false;
|
||||||
|
this.isEncrypted = copy ? copy.isEncrypted : false;
|
||||||
|
this.isDirectMessage = copy ? copy.isDirectMessage : false;
|
||||||
this.membership = copy ? copy.membership : null;
|
this.membership = copy ? copy.membership : null;
|
||||||
this.inviteCount = copy ? copy.inviteCount : 0;
|
this.inviteCount = copy ? copy.inviteCount : 0;
|
||||||
this.joinCount = copy ? copy.joinCount : 0;
|
this.joinCount = copy ? copy.joinCount : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user