You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 14, 2024. It is now read-only.
The partner sends us the prekey and the m.room.enrypted message of the first room message almost at the same time.
The sync() reads both events in one HTTP response and puts both into the corresponding event loops.
Due to the fact that we have an asynchronous behavior it can happen that we are trying to decrypt the message before the prekey message is handled. Therefore, at the moment, we have this workaround:
if not meg_ses:
await asyncio.sleep(5)
meg_ses = self.room_keys.get((message[1], sender_device_id, session_id))
Maybe a better solution can be found to synchronize the events.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The partner sends us the prekey and the m.room.enrypted message of the first room message almost at the same time.
The sync() reads both events in one HTTP response and puts both into the corresponding event loops.
Due to the fact that we have an asynchronous behavior it can happen that we are trying to decrypt the message before the prekey message is handled. Therefore, at the moment, we have this workaround:
Maybe a better solution can be found to synchronize the events.
The text was updated successfully, but these errors were encountered: