]> nmode's Git Repositories - signal-cli/blobdiff - lib/src/main/java/org/asamk/signal/manager/api/StickerPackId.java
Add command to retrieve avatars and stickers
[signal-cli] / lib / src / main / java / org / asamk / signal / manager / api / StickerPackId.java
index ccb18708404c978c444166afe10c44ce98a38bf3..e6b5a957eb2a6db05ef03584c95000f7025a2259 100644 (file)
@@ -1,7 +1,8 @@
 package org.asamk.signal.manager.api;
 
+import org.whispersystems.signalservice.internal.util.Hex;
+
 import java.util.Arrays;
-import java.util.Base64;
 
 public class StickerPackId {
 
@@ -36,6 +37,6 @@ public class StickerPackId {
 
     @Override
     public String toString() {
-        return "StickerPackId{" + Base64.getUrlEncoder().encodeToString(id) + '}';
+        return "StickerPackId{" + Hex.toStringCondensed(id) + '}';
     }
 }