mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-06 05:23:33 +01:00
fix #446, do not try syncing inappropriate events via CalDAV
This commit is contained in:
parent
52c6864a70
commit
4d60ed186f
@ -243,7 +243,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
||||
}
|
||||
|
||||
context.scheduleNextEventReminder(event, this)
|
||||
if (addToCalDAV && event.source != SOURCE_SIMPLE_CALENDAR && context.config.caldavSync) {
|
||||
if (addToCalDAV && event.source != SOURCE_SIMPLE_CALENDAR && event.source != SOURCE_IMPORTED_ICS && context.config.caldavSync) {
|
||||
CalDAVHandler(context).insertCalDAVEvent(event)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user