diff --git a/src/common/connection.py b/src/common/connection.py
index 55593c9e35bb92f0fab1ec8e4b60526768304807..0551b8d27e420c7175d5909f93c1c61f0edde78a 100644
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -153,6 +153,7 @@ class CommonConnection:
         self.privacy_rules_supported = False
         self.vcard_supported = False
         self.private_storage_supported = False
+        self.archiving_supported = False
         self.archive_pref_supported = False
 
         self.muc_jid = {} # jid of muc server for each transport type
diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index 9ab71281877bba3b982713c69b30169f3647ffdc..f471907ccbabd3827aa89f9e91180166367d1d64 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -368,6 +368,8 @@ class ConnectionDisco:
                     our_jid = gajim.get_jid_from_account(self.name)
                     self.send_pb_purge(our_jid, 'storage:bookmarks')
                     self.send_pb_delete(our_jid, 'storage:bookmarks')
+            if features.__contains__(common.xmpp.NS_ARCHIVE):
+                self.archiving_supported = True
             if features.__contains__(common.xmpp.NS_ARCHIVE_AUTO):
                 self.archive_auto_supported = True
             if features.__contains__(common.xmpp.NS_ARCHIVE_MANAGE):
diff --git a/src/gui_interface.py b/src/gui_interface.py
index ac235fa0a3e570ffcd4cf8e496e42c350256ed68..856222ada07449d424157d70893ff890c2a41f55 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -1573,11 +1573,12 @@ class Interface:
         if gajim.connections[account].pep_supported and dbus_support.supported \
         and gajim.config.get_per('accounts', account, 'publish_location'):
             location_listener.enable()
-        # Start merging logs from server
-        gajim.connections[account].request_modifications_page(
-            gajim.config.get_per('accounts', account, 'last_archiving_time'))
-        gajim.config.set_per('accounts', account, 'last_archiving_time',
-            time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()))
+        if gajim.connections[account].archiving_supported:
+            # Start merging logs from server
+            gajim.connections[account].request_modifications_page(
+                gajim.config.get_per('accounts', account, 'last_archiving_time'))
+            gajim.config.set_per('accounts', account, 'last_archiving_time',
+                time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime()))
 
     def handle_event_metacontacts(self, account, tags_list):
         gajim.contacts.define_metacontacts(account, tags_list)