From a05a24873a4553a7abe9c81d873e1478dc0a599a Mon Sep 17 00:00:00 2001 From: AsamK Date: Sat, 1 May 2021 15:02:49 +0200 Subject: [PATCH] Only respond to sync requests if we're the master device --- lib/src/main/java/org/asamk/signal/manager/Manager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/org/asamk/signal/manager/Manager.java b/lib/src/main/java/org/asamk/signal/manager/Manager.java index 65414306..2f34f7a1 100644 --- a/lib/src/main/java/org/asamk/signal/manager/Manager.java +++ b/lib/src/main/java/org/asamk/signal/manager/Manager.java @@ -1903,7 +1903,7 @@ public class Manager implements Closeable { destination, ignoreAttachments)); } - if (syncMessage.getRequest().isPresent()) { + if (syncMessage.getRequest().isPresent() && account.isMasterDevice()) { var rm = syncMessage.getRequest().get(); if (rm.isContactsRequest()) { actions.add(SendSyncContactsAction.create());