1 package org
.asamk
.signal
.json
;
3 import org
.whispersystems
.signalservice
.api
.messages
.shared
.SharedContact
;
5 public record JsonContactAvatar(JsonAttachment attachment
, boolean isProfile
) {
7 static JsonContactAvatar
from(SharedContact
.Avatar avatar
) {
8 return new JsonContactAvatar(JsonAttachment
.from(avatar
.getAttachment()), avatar
.isProfile());