Skip to content

Commit

Permalink
Add user profile picture to capabilities (#1694)
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter authored May 7, 2021
1 parent d0cb49f commit e2c3841
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Enhancement: User profile picture capability

Based on feedback in the new ownCloud web frontend we want to omit trying to render
user avatars images / profile pictures based on the backend capabilities. Now the
OCS communicates a corresponding value.

https://github.com/cs3org/reva/pull/1694
3 changes: 2 additions & 1 deletion internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ type CapabilitiesFilesSharingPublicExpireDate struct {

// CapabilitiesFilesSharingUser TODO document
type CapabilitiesFilesSharingUser struct {
SendMail ocsBool `json:"send_mail" xml:"send_mail" mapstructure:"send_mail"`
SendMail ocsBool `json:"send_mail" xml:"send_mail" mapstructure:"send_mail"`
ProfilePicture ocsBool `json:"profile_picture" xml:"profile_picture" mapstructure:"profile_picture"`
}

// CapabilitiesFilesSharingUserEnumeration TODO document
Expand Down

0 comments on commit e2c3841

Please sign in to comment.