mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
fix: load the calendar range once, not twice, after creating a recurring event
This commit is contained in:
@@ -1140,9 +1140,6 @@ export const useCalendarStore = create<CalendarStore>()(
|
||||
await refetchAfterOccurrenceMutation();
|
||||
}
|
||||
void calendarHooks.onAfterEventCreate.emit(eventToView(mappedCreated));
|
||||
if (mappedCreated.recurrenceRules && mappedCreated.recurrenceRules.length > 0) {
|
||||
await refetchAfterOccurrenceMutation();
|
||||
}
|
||||
// Invitation emails are sent by the server: `sendSchedulingMessages`
|
||||
// on CalendarEvent/set makes Stalwart queue the iTIP REQUEST itself.
|
||||
// Sending a client-side iMIP copy here produced duplicate emails.
|
||||
|
||||
Reference in New Issue
Block a user