don't try to start archiving session if server doesn't support it. Fixes #5845
This commit is contained in:
parent
6474ea0d98
commit
a604f75912
|
@ -2677,7 +2677,8 @@ class ChatControl(ChatControlBase):
|
|||
if want_e2e and not self.no_autonegotiation \
|
||||
and gajim.HAVE_PYCRYPTO and self.contact.supports(NS_ESESSION):
|
||||
self.begin_e2e_negotiation()
|
||||
elif not self.session or not self.session.status:
|
||||
elif (not self.session or not self.session.status) and \
|
||||
gajim.connections[self.account].archiving_supported:
|
||||
self.begin_archiving_negotiation()
|
||||
else:
|
||||
self.send_chatstate('active', self.contact)
|
||||
|
|
Loading…
Reference in New Issue