Change stickerId to hex everywhere

Remove packKey from output
This commit is contained in:
AsamK 2022-01-03 17:51:04 +01:00
parent e70463d7b8
commit beb3adcc72
12 changed files with 23 additions and 20 deletions

View file

@ -162,7 +162,10 @@ public class DbusReceiveMessageHandler implements Manager.ReceiveMessageHandler
}
private Map<String, Variant<? extends Serializable>> getStickerMap(final MessageEnvelope.Data.Sticker sticker) {
return Map.of("packId", new Variant<>(sticker.packId()), "stickerId", new Variant<>(sticker.stickerId()));
return Map.of("packId",
new Variant<>(sticker.packId().serialize()),
"stickerId",
new Variant<>(sticker.stickerId()));
}
private Map<String, Variant<?>> getReactionMap(final MessageEnvelope.Data.Reaction reaction) {