X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/10719a443a88d06ef5734f0e17f71316b1473edf..eabd361405a54a5b7122bf537cb299306f098e45:/src/main/java/org/asamk/textsecure/GroupInfo.java diff --git a/src/main/java/org/asamk/textsecure/GroupInfo.java b/src/main/java/org/asamk/textsecure/GroupInfo.java deleted file mode 100644 index dd6cacf7..00000000 --- a/src/main/java/org/asamk/textsecure/GroupInfo.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.asamk.textsecure; - -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; - } -}