aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-05 22:54:28 +0200
committerAndreas Straub <andy@strb.org>2015-07-05 22:54:28 +0200
commit3b8dfafecded2a6f16c87ff9b7ff5cf3e1d5d6a1 (patch)
tree1e964449ca62e1d0191a4b3b108b7936f3978e46 /src/main/res
parent835584ae3b58fbeab07516e2ce609efe9ad8bec8 (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