Signal-iOS/Signal
Michael Kirk d8ae941736 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.

// FREEBIE
2017-04-06 21:09:56 -04:00
..
AudioFiles Fixes #244 2015-03-21 17:53:38 +01:00
Certificates TextSecureKit Refactoring 2015-12-22 23:41:10 +01:00
Fonts Align the message state indicators with the behavior on Android and desktop. 2017-03-20 12:55:35 -04:00
Images Multiple visual enhancements and repo cleanup. 2015-02-18 18:20:02 +01:00
Images.xcassets Add blacklist controls to 1:1 conversation view. 2017-04-05 09:09:13 -04:00
src Delete session *before* sending EndSession message 2017-04-06 21:09:56 -04:00
test Rename source directories with a space in their name. 2017-03-31 11:58:52 -04:00
translations Improvements around contact cells. 2017-04-06 20:59:07 -04:00
.swiftlint.yml WIP: WebRTC calling 2017-01-12 09:56:05 -05:00
iTunesArtwork@3x.png Updated iTunes artwork 2015-01-30 17:25:24 -10:00
main.m Removing unused imported classes. 2015-07-27 16:19:08 +02:00
Signal-Info.plist bump build 2017-04-05 18:10:55 -04:00
Signal-Prefix.pch [SSK] move iOSVersion to SSK 2017-04-06 21:06:13 -04:00
Signal.entitlements Apple now requires camera permission explanation 2016-09-17 13:51:34 -04:00