]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/util/ErrorUtils.java
Use base64 group id for protobuf group file to match avatar files
[signal-cli] / src / main / java / org / asamk / signal / util / ErrorUtils.java
index 8e27dd909c69b512e5750b3838a6e015443c0620..44d505bee56c4a01b0eb6968c6c02ecb4e32a205 100644 (file)
@@ -1,5 +1,6 @@
 package org.asamk.signal.util;
 
+import org.asamk.signal.manager.GroupIdFormatException;
 import org.asamk.signal.manager.GroupNotFoundException;
 import org.asamk.signal.manager.NotAGroupMemberException;
 import org.whispersystems.signalservice.api.messages.SendMessageResult;
@@ -22,7 +23,9 @@ public class ErrorUtils {
     }
 
     public static int handleTimestampAndSendMessageResults(long timestamp, List<SendMessageResult> results) {
-        System.out.println(timestamp);
+        if (timestamp != 0) {
+            System.out.println(timestamp);
+        }
         List<String> errors = getErrorMessagesFromSendMessageResults(results);
         return handleSendMessageResultErrors(errors);
     }