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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user