Fix type when sending revoke messages

This commit is contained in:
ameba23
2021-08-31 13:03:58 +02:00
parent 03a624ab8f
commit 18d1dd041d

View File

@@ -287,7 +287,7 @@ public class RemoteWipeManagerImpl extends ConversationClientImpl
Message m = clientHelper.createMessage(g, timestamp, body);
BdfDictionary meta = BdfDictionary.of(
new BdfEntry(MSG_KEY_MESSAGE_TYPE, SETUP.getValue()),
new BdfEntry(MSG_KEY_MESSAGE_TYPE, REVOKE.getValue()),
new BdfEntry(MSG_KEY_LOCAL, true),
new BdfEntry(MSG_KEY_TIMESTAMP, timestamp)
);