matrix-js-sdk
2f51e206 - Prevent attempts to send olm messages to ourselves

Commit
5 years ago
Prevent attempts to send olm messages to ourselves The cause of this I've seen is us sending keyshare reqiests when we didn't have keys but them arriving when we do, and us replying to ourseles with keys, so exclude that explicity. Also catch this lower down to catch any other code paths that mistaklenly try this. Hopefully the comment explains enough as to why it won't work.
Author
Parents
Loading