|
|
@ -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');
|
|
|
|