mirror of https://github.com/oxen-io/session-ios
Delete session *before* sending EndSession message
Typically we're sending an EndSession message because our session has diverged from the remote party's session. So if we send an EndSession message, but decrypt it with our old out-of-sync session, how can we expect them to be able to decrypt it? Instead, by deleting the existing sessions, we'll fetch a new PreKey, and start fresh with the remote side. // FREEBIEpull/1/head
parent
9d0c76ca56
commit
d8ae941736
Loading…
Reference in New Issue