* Add option 'dont_ack_s10n' to prevent the infinite loop with jabberd2 subscription acknowledgements.
This commit is contained in:
parent
b3f1956da9
commit
ff5fd60861
2 changed files with 3 additions and 1 deletions
|
@ -227,6 +227,7 @@ class Config:
|
|||
# try for 2 minutes before giving up (aka. timeout after those seconds)
|
||||
'try_connecting_for_foo_secs': [ opt_int, 60 ],
|
||||
'http_auth': [opt_str, 'ask'], # yes, no, ask
|
||||
'dont_ack_s10n': [opt_bool, False],
|
||||
# proxy65 for FT
|
||||
'file_transfer_proxies': [opt_str,
|
||||
'proxy.jabber.org, proxy.netlab.cz, transfer.jabber.freenet.de'],
|
||||
|
|
|
@ -650,7 +650,8 @@ class Interface:
|
|||
dialogs.InformationDialog(_('Authorization accepted'),
|
||||
_('The contact "%s" has authorized you to see his or her status.')
|
||||
% jid)
|
||||
gajim.connections[account].ack_subscribed(jid)
|
||||
if not gajim.config.get_per('accounts',account,'dont_ack_s10n'):
|
||||
gajim.connections[account].ack_subscribed(jid)
|
||||
if self.remote_ctrl:
|
||||
self.remote_ctrl.raise_signal('Subscribed', (account, array))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue