Required profile sharing: Only activate for 1:1 and gv1 groups

This commit is contained in:
Scott Nonnenberg 2021-04-08 12:35:11 -07:00 committed by GitHub
parent 9438b7b3fe
commit bb412d61c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2260,6 +2260,10 @@ export class ConversationModel extends window.Backbone.Model<
return false;
}
if (!this.isGroupV1() && !this.isPrivate()) {
return false;
}
return !this.get('profileSharing');
}