You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is no profilePicture parameter, but in storageService, uploadGroupProfilePicture is provided,
is it group profile picture is missing in api design?
The text was updated successfully, but these errors were encountered:
If you want to manage group profile pictures (or other storage resources) by Turms, the API design is fine because:
groupService is mainly used to manage data in the group domain, and storageService is mainly used to manage data for groups, users, and messages in the storage resources domain.
If you upload resources by storageService, it's meanless for you to update the profile picture URL of a group to a custom URL because you can either interfere with the profile picture URLs provided by Turms if you decide to use regular profile picture URLs, or you need to call queryGroupProfilePicture to get the URL if you decide to use inregular profile picture URLs for anti-crawler reasons.
But if you want the storage resources by other services (not Turms), it's reasonable to update the profile picture via updateGroup, and I can update the API to add a param like profilePicture for you if you want.
when create group or update a group
there is no profilePicture parameter, but in storageService, uploadGroupProfilePicture is provided,
is it group profile picture is missing in api design?
The text was updated successfully, but these errors were encountered: