changeset 4e7cd80d50bb in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=4e7cd80d50bb 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 4672a8d732f5 -r 4e7cd80d50bb src/common/connection.py --- a/src/common/connection.py Thu Feb 21 19:47:30 2013 +0100 +++ b/src/common/connection.py Sat Feb 23 11:41:36 2013 -0400 @@ -1660,7 +1660,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_')