mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Only add remote wipe message headers to local messages
This commit is contained in:
@@ -317,8 +317,11 @@ public class RemoteWipeManagerImpl extends ConversationClientImpl
|
|||||||
.getMessage(txn, messageEntry.getKey());
|
.getMessage(txn, messageEntry.getKey());
|
||||||
MessageStatus status = db.getMessageStatus(txn, contactId,
|
MessageStatus status = db.getMessageStatus(txn, contactId,
|
||||||
messageEntry.getKey());
|
messageEntry.getKey());
|
||||||
headers.add(
|
if (meta.getBoolean(MSG_KEY_LOCAL)) {
|
||||||
createMessageHeader(message, meta, status, WIPE));
|
headers.add(
|
||||||
|
createMessageHeader(message, meta, status,
|
||||||
|
WIPE));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return headers;
|
return headers;
|
||||||
|
|||||||
Reference in New Issue
Block a user