From 54d8ee2a4052953e491982db5aec7d08e7403da7 Mon Sep 17 00:00:00 2001 From: AsamK Date: Wed, 10 Nov 2021 10:24:37 +0100 Subject: [PATCH] Fix remote delete in dbus receive --- src/main/java/org/asamk/signal/DbusReceiveMessageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/DbusReceiveMessageHandler.java b/src/main/java/org/asamk/signal/DbusReceiveMessageHandler.java index dbb5030c..2fb27a3d 100644 --- a/src/main/java/org/asamk/signal/DbusReceiveMessageHandler.java +++ b/src/main/java/org/asamk/signal/DbusReceiveMessageHandler.java @@ -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();