mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Only respond to sync requests if we're the master device
This commit is contained in:
parent
deb4ecd04f
commit
a05a24873a
1 changed files with 1 additions and 1 deletions
|
@ -1903,7 +1903,7 @@ public class Manager implements Closeable {
|
||||||
destination,
|
destination,
|
||||||
ignoreAttachments));
|
ignoreAttachments));
|
||||||
}
|
}
|
||||||
if (syncMessage.getRequest().isPresent()) {
|
if (syncMessage.getRequest().isPresent() && account.isMasterDevice()) {
|
||||||
var rm = syncMessage.getRequest().get();
|
var rm = syncMessage.getRequest().get();
|
||||||
if (rm.isContactsRequest()) {
|
if (rm.isContactsRequest()) {
|
||||||
actions.add(SendSyncContactsAction.create());
|
actions.add(SendSyncContactsAction.create());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue