Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c90e0bf0 authored by Patrick Lang's avatar Patrick Lang Committed by Sunik Kupfer
Browse files

Removed update related to from JtxSyncManager (#92)



* Removed update related to from JtxSyncManager

updateRelatedTo is now done implicitely in the sync content provider for every inserted or updated icalobject/relatedto

* Update ical4android

Co-authored-by: default avatarRicki Hirner <hirner@bitfire.at>
parent 2e6ce88c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -114,11 +114,7 @@ class JtxSyncManager(
        }
    }

    override fun postProcess() {
        /* related-to entries must be updated. The linkedICalObjectId is set to 0 for synced entries as we cannot be sure that the linked entry is already
        there when the related-to entry is written. therefore we have to update it here in the postProcess() method.  */
        localCollection.updateRelatedTo()
    }
    override fun postProcess() { /* nothing to do */  }

    override fun notifyInvalidResourceTitle(): String =
        context.getString(R.string.sync_invalid_event)
Compare 954bad40 to 4f89e82d
Original line number Diff line number Diff line
Subproject commit 954bad40845333f1a518494b0448b57e342780f0
Subproject commit 4f89e82dfa6943706cc85dd6ee2ba9e944a59d3b