Mercurial > libervia-backend
changeset 2812:ba2e03ee7c4f
plugin OTR: do profile session init in profileConnecting, so it is done before receiving any stanza
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 25 Feb 2019 08:07:00 +0100 |
parents | a26b1ad2d3a4 |
children | c86e60ac70c3 |
files | sat/plugins/plugin_sec_otr.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/plugins/plugin_sec_otr.py Sun Feb 24 14:12:06 2019 +0100 +++ b/sat/plugins/plugin_sec_otr.py Mon Feb 25 08:07:00 2019 +0100 @@ -368,7 +368,7 @@ 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)