Fix leaving closed groups

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

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

Loading…
Cancel
Save