diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt index 555528d0d..9922a1771 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt @@ -1344,6 +1344,7 @@ class EventActivity : SimpleActivity() { if (mEvent.id == null && isSavingEvent && attendees.isNotEmpty()) { val currentCalendar = calDAVHelper.getCalDAVCalendars("", true).firstOrNull { it.id == mEventCalendarId } mAvailableContacts.firstOrNull { it.email == currentCalendar?.accountName }?.apply { + attendees = attendees.filter { it.email != currentCalendar?.accountName }.toMutableList() as ArrayList status = CalendarContract.Attendees.ATTENDEE_STATUS_ACCEPTED relationship = CalendarContract.Attendees.RELATIONSHIP_ORGANIZER attendees.add(this)