SafeSlingerProject / SafeSlinger-iOS

Source code for iOS platform client SafeSlinger
MIT License
6 stars 2 forks source link

Messages out of order #53

Closed brnunes closed 9 years ago

brnunes commented 9 years ago

If the device has received multiple messages when it was offline, they will be delivered out of order when the device gets online. Test: Disconnect device A from the internet, send a few messages from B to A, connect A to the internet. A will receive the messages, but they will not be shown in the same order that they were sent.

tenmalin commented 9 years ago

Messages were delivered out of order due to Urban Airship mechanism. Before we implement auto-decrypt feature, the app can only sort ciphertexts by receiving time. That's why the disconnected device will receive messages out of order. However, messages will be sorted after they have been decrypted.