50ec2551f8
All state is now fed to nio from the appservice state event stream instead of /sync. This should remove all race conditions of trying to encrypt messages before nio is synced.