pull/877/head
Mikunj 5 years ago
parent c6be289092
commit d20d31b574

@ -221,7 +221,9 @@
return !!(this.id && this.id.match(/^publicChat:/)); return !!(this.id && this.id.match(/^publicChat:/));
}, },
isClosedGroup() { isClosedGroup() {
return this.get('type') === Message.GROUP && !this.isPublic() && !this.isRss(); return (
this.get('type') === Message.GROUP && !this.isPublic() && !this.isRss()
);
}, },
isClosable() { isClosable() {
return !this.isRss() || this.get('closable'); return !this.isRss() || this.get('closable');

Loading…
Cancel
Save