mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Add avatar image storage
Group and contact avatars are now stored in the avatars subfolder of the settings path: - contact-NUMBER - group-GROUP_ID
This commit is contained in:
parent
9427616906
commit
3e2024ff0a
3 changed files with 136 additions and 33 deletions
|
@ -1,5 +1,6 @@
|
|||
package org.asamk.signal;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.util.Collection;
|
||||
|
@ -16,8 +17,12 @@ public class GroupInfo {
|
|||
@JsonProperty
|
||||
public Set<String> members = new HashSet<>();
|
||||
|
||||
@JsonProperty
|
||||
public long avatarId;
|
||||
private long avatarId;
|
||||
|
||||
@JsonIgnore
|
||||
public long getAvatarId() {
|
||||
return avatarId;
|
||||
}
|
||||
|
||||
@JsonProperty
|
||||
public boolean active;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue