Ask for discovery information (and archive) after SM is enabled. Fixes #7299
This commit is contained in:
parent
ef1d89bb95
commit
2da62b5c17
|
@ -1660,7 +1660,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
|
||||
# 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_')
|
||||
|
|
Loading…
Reference in New Issue