Merge pull request #992 from Bilb/fix-sync-open-groups-not-friend

multi device: do not sync contacts not friends
pull/993/head
Audric Ackermann 5 years ago committed by GitHub
commit 43f9ed6295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,7 +110,7 @@
async function createContactSyncProtoMessage(conversations) {
// Extract required contacts information out of conversations
const sessionContacts = conversations.filter(
c => c.isPrivate() && !c.isSecondaryDevice()
c => c.isPrivate() && !c.isSecondaryDevice() && c.isFriend()
);
if (sessionContacts.length === 0) {

Loading…
Cancel
Save