Add some more comments in NoAvailableSession handling
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
643b1695a1
commit
368bbd9005
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ class EchoBot(ClientXMPP):
|
||||||
# We received a message from that contained a session that we
|
# We received a message from that contained a session that we
|
||||||
# don't know about (deleted session storage, etc.). We can't
|
# don't know about (deleted session storage, etc.). We can't
|
||||||
# decrypt the message, and it's going to be lost.
|
# decrypt the message, and it's going to be lost.
|
||||||
|
# Here, as we need to initiate a new encrypted session, it is
|
||||||
|
# best if we send an encrypted message directly. XXX: Is it
|
||||||
|
# where we talk about self-healing messages?
|
||||||
self.encrypted_reply(
|
self.encrypted_reply(
|
||||||
msg,
|
msg,
|
||||||
'I can\'t decrypt this message as it uses an encrypted '
|
'I can\'t decrypt this message as it uses an encrypted '
|
||||||
|
|
Loading…
Reference in a new issue