changeset 28c7105d6176 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=28c7105d6176
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 50084dd32a06 -r 28c7105d6176 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_')