2022-11-30 09:41:35 +00:00
|
|
|
package wakusync
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/status-im/status-go/images"
|
|
|
|
)
|
|
|
|
|
|
|
|
type BackedUpProfile struct {
|
2022-12-12 10:20:32 +00:00
|
|
|
DisplayName string `json:"displayName,omitempty"`
|
|
|
|
Images []images.IdentityImage `json:"images,omitempty,omitempty"`
|
2022-11-30 09:41:35 +00:00
|
|
|
}
|
|
|
|
|
2022-12-12 10:20:32 +00:00
|
|
|
func (sfwr *WakuBackedUpDataResponse) AddDisplayName(displayName string) {
|
2022-11-30 09:41:35 +00:00
|
|
|
sfwr.Profile.DisplayName = displayName
|
|
|
|
}
|
|
|
|
|
2022-12-12 10:20:32 +00:00
|
|
|
func (sfwr *WakuBackedUpDataResponse) AddImages(images []images.IdentityImage) {
|
2022-11-30 09:41:35 +00:00
|
|
|
sfwr.Profile.Images = images
|
|
|
|
}
|