plugin OTR: do profile session init in profileConnecting, so it is done before receiving any stanza
This commit is contained in:
parent
f40b43dca5
commit
a56c9dd845
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ class OTR(object):
|
|||
self.skipped_profiles.add(profile)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def profileConnected(self, client):
|
||||
def profileConnecting(self, client):
|
||||
if client.profile in self.skipped_profiles:
|
||||
return
|
||||
ctxMng = client._otr_context_manager = ContextManager(self, client)
|
||||
|
|
|
|||
Loading…
Reference in a new issue