X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/c1775913b9c54c84b45154aa841a0ba475c7c9fd..5a4f4ba6db935d54757f4c6a79e544708a994d6f:/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java diff --git a/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java b/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java index 574f68c6..bd5bdfb2 100644 --- a/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java +++ b/src/main/java/org/asamk/signal/dbus/DbusManagerImpl.java @@ -49,7 +49,6 @@ import org.asamk.signal.manager.api.UpdateProfile; import org.asamk.signal.manager.api.UserStatus; import org.asamk.signal.manager.api.UsernameLinkUrl; import org.asamk.signal.manager.api.UsernameStatus; -import org.freedesktop.dbus.DBusMap; import org.freedesktop.dbus.DBusPath; import org.freedesktop.dbus.connections.impl.DBusConnection; import org.freedesktop.dbus.exceptions.DBusException; @@ -700,6 +699,7 @@ public class DbusManagerImpl implements Manager { null, null, 0, + 1, 0, false, contactBlocked, @@ -1063,7 +1063,7 @@ public class DbusManagerImpl implements Manager { return List.of(); } - final List>> attachments = getValue(extras, "attachments"); + final List>> attachments = getValue(extras, "attachments"); return attachments.stream().map(a -> { final String file = a.containsKey("file") ? getValue(a, "file") : null; return new MessageEnvelope.Data.Attachment(a.containsKey("remoteId") @@ -1090,7 +1090,7 @@ public class DbusManagerImpl implements Manager { return List.of(); } - final List>> mentions = getValue(extras, "mentions"); + final List>> mentions = getValue(extras, "mentions"); return mentions.stream() .map(a -> new MessageEnvelope.Data.Mention(new RecipientAddress(this.getValue(a, "recipient")), getValue(a, "start"),