Fix remote delete in dbus receive

This commit is contained in:
AsamK 2021-11-10 10:24:37 +01:00
parent dc8abd0032
commit 54d8ee2a40

View file

@ -145,7 +145,7 @@ public class DbusReceiveMessageHandler implements Manager.ReceiveMessageHandler
}
if (message.remoteDeleteId().isPresent()) {
extras.put("remoteDelete",
new Variant<>(Map.of("timestamp", new Variant<>(message.remoteDeleteId())), "a{sv}"));
new Variant<>(Map.of("timestamp", new Variant<>(message.remoteDeleteId().get())), "a{sv}"));
}
if (message.sticker().isPresent()) {
final var sticker = message.sticker().get();