comparison 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
comparison
equal deleted inserted replaced
3225:843a9279fb5a 3226:2f406b762788
207 host.memory.getParamA(C.FORCE_SERVER_PARAM, "Connection", 207 host.memory.getParamA(C.FORCE_SERVER_PARAM, "Connection",
208 profile_key=profile) or None, 208 profile_key=profile) or None,
209 port, max_retries, 209 port, max_retries,
210 ) 210 )
211 211
212 await entity.encryption.loadSessions()
213
212 entity._createSubProtocols() 214 entity._createSubProtocols()
213 215
214 entity.fallBack = SatFallbackHandler(host) 216 entity.fallBack = SatFallbackHandler(host)
215 entity.fallBack.setHandlerParent(entity) 217 entity.fallBack.setHandlerParent(entity)
216 218