Only respond to sync requests if we're the master device

This commit is contained in:
AsamK 2021-05-01 15:02:49 +02:00
parent deb4ecd04f
commit a05a24873a

View file

@ -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());