Avoid resetting current endpoint when custom endpoint has not changed

This commit is contained in:
Damien Elmes 2023-01-19 18:54:46 +10:00
parent 7914592bce
commit 2d4a2983bc

View file

@ -665,6 +665,7 @@ create table if not exists profiles
return self.profile.get("customSyncUrl")
def set_custom_sync_url(self, url: str | None) -> None:
if url != self.custom_sync_url():
self.set_current_sync_url(None)
self.profile["customSyncUrl"] = url