mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Fix single person groups being marked verified
This commit is contained in:
@@ -2727,11 +2727,17 @@ export class ConversationModel extends window.Backbone
|
||||
return this.get('verified') === this.verifiedEnum.VERIFIED;
|
||||
}
|
||||
|
||||
if (!this.contactCollection?.length) {
|
||||
const contacts = this.contactCollection;
|
||||
|
||||
if (contacts == null || contacts.length === 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.contactCollection?.every(contact => {
|
||||
if (contacts.length === 1 && isMe(contacts.first()?.attributes)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return contacts.every(contact => {
|
||||
if (isMe(contact.attributes)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user