diff options
author | Andreas Straub <andy@strb.org> | 2015-07-05 22:54:28 +0200 |
---|---|---|
committer | Andreas Straub <andy@strb.org> | 2015-07-19 21:32:27 +0200 |
commit | 0cf64857cfa8d42b8759ca2934af91d6060c55a5 (patch) | |
tree | f5bdb6e8984908bca7f66e0f0cfd4795da1c4212 /src/main/res | |
parent | 6867b5c3abeeb5116a2542c56a706b733fd9cbf0 (diff) |
Only cache session if successfully established
When receiving a message, only remember the XmppAxolotlSession wrapper
if the prospective session was actually established. This prevents us
from erroneously adding empty sessions that are never established using
received PreKeyWhisperMessages, which would lead to errors if we try to
use them for sending.
Diffstat (limited to 'src/main/res')
0 files changed, 0 insertions, 0 deletions