]> nmode's Git Repositories - signal-cli/blobdiff - lib/src/main/java/org/asamk/signal/manager/helper/GroupHelper.java
Refactor attachment upload helpers
[signal-cli] / lib / src / main / java / org / asamk / signal / manager / helper / GroupHelper.java
index f4e9232085194acf8efd5e98c1e0d803eea0abc4..3ed642ede0af87bafc43e672f7cf31c074866bbd 100644 (file)
@@ -98,7 +98,7 @@ public class GroupHelper {
             return Optional.empty();
         }
 
-        return Optional.of(AttachmentUtils.createAttachment(streamDetails, Optional.empty()));
+        return Optional.of(AttachmentUtils.createAttachmentStream(streamDetails, Optional.empty()));
     }
 
     public GroupInfoV2 getOrMigrateGroup(