Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.py')
-rw-r--r--src/session.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/session.py b/src/session.py
index 614bb88ef..3a84976c2 100644
--- a/src/session.py
+++ b/src/session.py
@@ -440,7 +440,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
return
- elif self.status == 'requested' and form.getType() == 'submit':
+ elif self.status == 'requested-archiving' and form.getType() == \
+ 'submit':
try:
self.accept_archiving_alice(form)
except exceptions.NegotiationError, details:
@@ -481,7 +482,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
self.fail_bad_negotiation(details)
return
- elif self.status == 'responded' and form.getType() == 'result':
+ elif self.status == 'responded-archiving' and form.getType() == \
+ 'result':
try:
self.accept_archiving_bob(form)
except exceptions.NegotiationError, details: