diff sat/core/xmpp.py @ 3226:2f406b762788

core (memory/encryption): encryption session are now restored on client connection
author Goffi <goffi@goffi.org>
date Sun, 22 Mar 2020 18:39:12 +0100
parents 0404b306641d
children cc3fea71c365
line wrap: on
line diff
--- a/sat/core/xmpp.py	Sun Mar 22 18:35:22 2020 +0100
+++ b/sat/core/xmpp.py	Sun Mar 22 18:39:12 2020 +0100
@@ -209,6 +209,8 @@
             port, max_retries,
             )
 
+        await entity.encryption.loadSessions()
+
         entity._createSubProtocols()
 
         entity.fallBack = SatFallbackHandler(host)