mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 12:19:54 +01:00
Fix header problem with revoke remote wipe messages
This commit is contained in:
@@ -21,4 +21,9 @@ public class MessageParserImpl implements MessageParser {
|
||||
public void parseWipeMessage(BdfList body) throws FormatException {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void parseRevokeMessage(BdfList body) throws FormatException {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -411,6 +411,14 @@ public class RemoteWipeManagerImpl extends ConversationClientImpl
|
||||
createMessageHeader(message, meta, status,
|
||||
WIPE));
|
||||
}
|
||||
} else if (meta.getLong(MSG_KEY_MESSAGE_TYPE).intValue() ==
|
||||
REVOKE.getValue()) {
|
||||
Message message = clientHelper
|
||||
.getMessage(txn, messageEntry.getKey());
|
||||
MessageStatus status = db.getMessageStatus(txn, contactId,
|
||||
messageEntry.getKey());
|
||||
headers.add(
|
||||
createMessageHeader(message, meta, status, REVOKE));
|
||||
}
|
||||
}
|
||||
return headers;
|
||||
|
||||
Reference in New Issue
Block a user