changeset 24ee3d2a67b2 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=24ee3d2a67b2 description: Ask for discovery information (and archive) after SM is enabled. Fixes #7299
diffstat:
src/common/connection.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b41ccab14a49 -r 24ee3d2a67b2 src/common/connection.py --- a/src/common/connection.py Thu Feb 21 19:03:20 2013 +0100 +++ b/src/common/connection.py Sat Feb 23 11:41:36 2013 -0400 @@ -1662,7 +1662,7 @@
# If we are not resuming, we ask for discovery info # and archiving preferences - if not self.sm.resuming: + if not self.sm.supports_sm or (not self.sm.resuming and self.sm.enabled): self.request_message_archiving_preferences() self.discoverInfo(gajim.config.get_per('accounts', self.name, 'hostname'), id_prefix='Gajim_')