mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +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());
|
||||
MessageStatus status = db.getMessageStatus(txn, contactId,
|
||||
messageEntry.getKey());
|
||||
headers.add(
|
||||
createMessageHeader(message, meta, status, WIPE));
|
||||
if (meta.getBoolean(MSG_KEY_LOCAL)) {
|
||||
headers.add(
|
||||
createMessageHeader(message, meta, status,
|
||||
WIPE));
|
||||
}
|
||||
}
|
||||
}
|
||||
return headers;
|
||||
|
||||
Reference in New Issue
Block a user