mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Change stickerId to hex everywhere
Remove packKey from output
This commit is contained in:
parent
e70463d7b8
commit
beb3adcc72
12 changed files with 23 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue