Fix starting syncing when there's no avatar set

This commit is contained in:
Tulir Asokan 2019-08-31 14:55:16 +03:00
parent 811b5877b0
commit 33a83e0701

View File

@ -120,7 +120,7 @@ class Client:
await self.client.set_displayname(self.displayname) await self.client.set_displayname(self.displayname)
if self.avatar_url != "disable": if self.avatar_url != "disable":
await self.client.set_avatar_url(self.avatar_url) await self.client.set_avatar_url(self.avatar_url)
self.start_sync() self.start_sync()
await self._update_remote_profile() await self._update_remote_profile()
self.started = True self.started = True
self.log.info("Client started, starting plugin instances...") self.log.info("Client started, starting plugin instances...")