fix: legacy groups are unapproved so should allow all notifications

usually if its unapproved we cancel the notification until the request is accepted
pull/3066/head
William Grant 1 month ago
parent 563e4cc752
commit a3c80ad247

@ -1739,9 +1739,11 @@ export class ConversationModel extends Backbone.Model<ConversationAttributes> {
return;
}
const conversationId = this.id;
const isLegacyGroup = this.isGroup() && !this.isPublic() && this.id.startsWith('05');
let friendRequestText;
if (!this.isApproved()) {
// NOTE: legacy groups are never approved, so we don't should not cancel notifications
if (!this.isApproved() && !isLegacyGroup) {
window?.log?.info('notification cancelled for unapproved convo', this.idForLogging());
const hadNoRequestsPrior =
getConversationController()

Loading…
Cancel
Save