fix(caldav): Only track interactions of event organizers
- Resolves https://github.com/nextcloud/server/issues/38390
Summary
Imported events can have attendees to and we wrongly capture them as interactions. Only if the owner of the event is organizer it is their interaction. Anything else can be ignored.
TODO
- [x] Fix event contacts interaction
Checklist
- Code is properly formatted
- Sign-off message is added to all commits
- [x] Tests (unit, integration, api and/or acceptance) are included
- [x] Screenshots before/after for front-end changes
- [x] Documentation (manuals or wiki) has been updated or is not required
- [x] Backports requested where applicable (ex: critical bugfixes)
/backport to stable27
/backport to stable26
/backport to stable25
I'll leave that for another PR :see_no_evil:
@JohannesGGE @hamza221 reviews pls
If I understand it correctly, normal invitations (adding an event with attendees) and imports of events where the organizer is me, should appear in recently contacted, right? On master, that's the case, in this PR nothing appears in recently contacted :(
I'll test that another time!