Remove Directly Sharing a Profile Image, use general ReshareFiles instead
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2022-12-07 10:48:12 -08:00
parent 54ba8c463a
commit e12cb2c965
1 changed files with 0 additions and 1 deletions

View File

@ -119,7 +119,6 @@ func (eh *EventHandler) handleAppBusEvent(e *event.Event) string {
// reset the share timestamp, currently file shares are hardcoded to expire after 30 days...
// we reset the profile image here so that it is always available.
profile.SetScopedZonedAttribute(attr.LocalScope, attr.FilesharingZone, fmt.Sprintf("%s.ts", key), strconv.FormatInt(time.Now().Unix(), 10))
profile.ShareFile(key, serializedManifest)
log.Debugf("Custom Profile Image: %v %s", e.Data[constants2.Picture], key, serializedManifest)
}
// If file sharing is enabled then reshare all active files...