Wait for the first sync to complete loading

This commit is contained in:
ismailgulek 2020-08-21 13:18:53 +03:00
parent a9ed30b2cc
commit a095fc4a4d

View file

@ -1218,7 +1218,7 @@
{
MXSession *session = (MXSession*)notification.object;
if (session.state >= MXSessionStateStoreDataReady)
if (session.state >= MXSessionStateRunning)
{
[self unregisterSessionStateChangeNotification];