Should fix - Sync has got stuck while the app was backgrounded
Should fix - Sync has got stuck while the app was backgrounded

https://github.com/vector-im/vector-ios/issues/506

According to the logs (attached to the emailed report), the applicationDidEnterBackground was ignored during the session state handling. The session was running whereas the app was backgrounded.

matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit,matrix-org/matrix-ios-kit