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

Fix #36340 #50069

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix #36340 #50069

wants to merge 1 commit into from

Conversation

michielbdejong
Copy link
Contributor

Summary

Copy sharedBy and sharedByDisplayName fields to sender and senderDisplayName to allow non-Nextcloud implementations of Open Cloud Mesh to find this information when receiving a share from a nextcloud user.

Checklist

@michielbdejong
Copy link
Contributor Author

CC @provokateurin @ArtificialOwl

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but you need to change the commit message to follow https://www.conventionalcommits.org/en/v1.0.0/

Copy link
Member

@joshtrichards joshtrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @michielbdejong. Please clean-up the commit message and should be good.

@@ -155,6 +157,7 @@ public function setOwnerDisplayName($ownerDisplayName) {
*/
public function setSharedBy($sharedBy) {
$this->share['sharedBy'] = $sharedBy;
$this->share['sender'] = $sharedBy;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a cloudId (Could be read like it should be from https://github.com/cs3org/OCM-API/blob/develop/spec.yaml#L526 ) or the user id?

@blizzz blizzz mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: OCM implementation has wrong parameter names
4 participants