default should be false, so comparison in the sorter is stable

This commit is contained in:
Bruno Windels 2020-08-21 14:10:53 +02:00
parent 5d1bc61f61
commit 4969009b2b

View file

@ -113,9 +113,9 @@ class SummaryData {
this.name = copy ? copy.name : null;
this.lastMessageBody = copy ? copy.lastMessageBody : null;
this.lastMessageTimestamp = copy ? copy.lastMessageTimestamp : null;
this.isUnread = copy ? copy.isUnread : null;
this.isEncrypted = copy ? copy.isEncrypted : null;
this.isDirectMessage = copy ? copy.isDirectMessage : null;
this.isUnread = copy ? copy.isUnread : false;
this.membership = copy ? copy.membership : null;
this.inviteCount = copy ? copy.inviteCount : 0;
this.joinCount = copy ? copy.joinCount : 0;