1 package org
.asamk
.signal
.json
;
3 import com
.fasterxml
.jackson
.annotation
.JsonProperty
;
5 import org
.whispersystems
.signalservice
.api
.messages
.shared
.SharedContact
;
7 public class JsonContactAvatar
{
10 private final JsonAttachment attachment
;
13 private final boolean isProfile
;
15 public JsonContactAvatar(SharedContact
.Avatar avatar
) {
16 attachment
= new JsonAttachment(avatar
.getAttachment());
17 isProfile
= avatar
.isProfile();