Skip to content

Conversation

@provokateurin
Copy link
Member

No description provided.

Copy link
Member

@ArtificialOwl ArtificialOwl left a comment

Choose a reason for hiding this comment

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

listening on CircleMemberAddedEvent and CircleMemberRemovedEvent might be better

@provokateurin
Copy link
Member Author

Needs adjustment for nextcloud/server#57564

@provokateurin provokateurin marked this pull request as draft January 15, 2026 09:44
@icewind1991
Copy link
Member

icewind1991 commented Jan 15, 2026

I'm not seeing any sign of the event being emitted in my testing.

Either adding or removing a user from a circle doesn't trigger the event listener

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the feat/share-access-update-event branch from 045a4e5 to 4087a9e Compare January 21, 2026 14:53
@provokateurin provokateurin marked this pull request as ready for review January 21, 2026 14:54
@provokateurin
Copy link
Member Author

I'm not seeing any sign of the event being emitted in my testing.

Fixed

Copy link
Member

@icewind1991 icewind1991 left a comment

Choose a reason for hiding this comment

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

With the two changes it seems to work as expected

@provokateurin provokateurin force-pushed the feat/share-access-update-event branch from 4087a9e to 30492cd Compare January 21, 2026 15:51
@icewind1991
Copy link
Member

Nope, I was wrong $member->getCircle() is the circle it's a member of, not the circle that is a member.

$this->circleRequest->getCircle($member->getSingleId()); is the correct one.

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the feat/share-access-update-event branch from 4c8f4b5 to 81eeebe Compare January 22, 2026 07:28
@provokateurin provokateurin merged commit c2b8926 into master Jan 22, 2026
44 checks passed
@provokateurin provokateurin deleted the feat/share-access-update-event branch January 22, 2026 07:31
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.

4 participants