federated: Log why invitations aren't offered

With -vvv, say which check stopped people from being invited to an
event: a read-only calendar, a calendar that isn't on a Core's
Nextcloud, or an event organized by someone else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 08:59:22 -06:00
co-authored by Claude Opus 5.5
parent aac336c817
commit dd1c1cd014
2 changed files with 24 additions and 3 deletions
@@ -159,6 +159,9 @@ update_invite_state (GcalEventEditorDialog *self)
organizer_email = gcal_util_get_email_from_mailto_uri (gcal_event_organizer_get_uri (organizer));
can_invite = !organizer_email || g_ascii_strcasecmp (organizer_email, email) == 0;
if (!can_invite)
g_debug ("No invitations: the event is organized by %s, not %s", organizer_email, email);
}
gcal_attendees_section_set_inviter (GCAL_ATTENDEES_SECTION (self->attendees_section),