package wakusync import ( "github.com/status-im/status-go/images" "github.com/status-im/status-go/protocol/identity" "github.com/status-im/status-go/services/ens" ) type BackedUpProfile struct { DisplayName string `json:"displayName,omitempty"` Images []images.IdentityImage `json:"images,omitempty"` EnsUsernameDetails []*ens.UsernameDetail `json:"ensUsernameDetails,omitempty"` ProfileShowcasePreferences identity.ProfileShowcasePreferences `json:"profile_showcase_preferences,omitempty"` } func (sfwr *WakuBackedUpDataResponse) SetDisplayName(displayName string) { sfwr.Profile.DisplayName = displayName } func (sfwr *WakuBackedUpDataResponse) SetImages(images []images.IdentityImage) { sfwr.Profile.Images = images } func (sfwr *WakuBackedUpDataResponse) SetEnsUsernameDetails(ensUsernameDetails []*ens.UsernameDetail) { sfwr.Profile.EnsUsernameDetails = ensUsernameDetails } func (sfwr *WakuBackedUpDataResponse) SetProfileShowcasePreferences(profileShowcasePreferences *identity.ProfileShowcasePreferences) { sfwr.Profile.ProfileShowcasePreferences = *profileShowcasePreferences }