Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ–ΌοΈ Conversation avatars API - Follow up #8443

Closed
Tracked by #927
nickvergessen opened this issue Dec 7, 2022 · 0 comments Β· Fixed by #8469
Closed
Tracked by #927

πŸ–ΌοΈ Conversation avatars API - Follow up #8443

nickvergessen opened this issue Dec 7, 2022 · 0 comments Β· Fixed by #8469
Assignees
Labels
4. to release bug feature: api πŸ› οΈ OCS API for conversations, chats and participants feature: chat πŸ’¬ Chat and system messages medium

Comments

@nickvergessen
Copy link
Member

How to use GitHub

  • Please use the πŸ‘ reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Follow up to #8333

Steps to reproduce

  1. Upload an avatar to a conversation
  2. Change an existing avatar of a conversation
  3. Delete the avatar of a conversation
curl -k -H "OCS-APIRequest: true" -u admin:admin "https://nextcloud.local/ocs/v2.php/apps/spreed/api/v1/room/am2f9ye3/avatar" -X POST -F 'file=@/home/…'

curl -k -H "OCS-APIRequest: true" -u admin:admin "https://nextcloud.local/ocs/v2.php/apps/spreed/api/v1/room/am2f9ye3/avatar" -X POST -F 'file=@/home/…'

curl -k -H "OCS-APIRequest: true" -u admin:admin "https://nextcloud.local/ocs/v2.php/apps/spreed/api/v1/room/am2f9ye3/avatar" -X DELETE

Expected behaviour

Admin set the conversation avatar
Admin set the conversation avatar
Admin deleted the conversation avatar

Actual behaviour

--- Chat is empty ---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release bug feature: api πŸ› οΈ OCS API for conversations, chats and participants feature: chat πŸ’¬ Chat and system messages medium
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants