X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/5859e7b9f78b5d8963c56c66b75530ee3f094bee..27d9424f1e7f607ac2dfad5b2164d065ffb79ef7:/src/main/java/cli/GroupInfo.java diff --git a/src/main/java/cli/GroupInfo.java b/src/main/java/cli/GroupInfo.java deleted file mode 100644 index fe31baf9..00000000 --- a/src/main/java/cli/GroupInfo.java +++ /dev/null @@ -1,32 +0,0 @@ -package cli; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.util.Collection; -import java.util.HashSet; -import java.util.Set; - -public class GroupInfo { - @JsonProperty - public final byte[] groupId; - - @JsonProperty - public String name; - - @JsonProperty - public Set members = new HashSet<>(); - - @JsonProperty - public long avatarId; - - public GroupInfo(byte[] groupId) { - this.groupId = groupId; - } - - public GroupInfo(@JsonProperty("groupId") byte[] groupId, @JsonProperty("name") String name, @JsonProperty("members") Collection members, @JsonProperty("avatarId") long avatarId) { - this.groupId = groupId; - this.name = name; - this.members.addAll(members); - this.avatarId = avatarId; - } -}