From f1b94534a44cf2301e59c3da3cfb0f2ec0931b85 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 8 Oct 2017 15:36:10 +0100 Subject: =?UTF-8?q?Change=20all=20=E2=80=9Cnot=20=E2=80=A6=20in=20?= =?UTF-8?q?=E2=80=A6=E2=80=9D=20into=20=E2=80=9C=E2=80=A6=20not=20in=20?= =?UTF-8?q?=E2=80=A6=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/otr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/otr.py') diff --git a/plugins/otr.py b/plugins/otr.py index 580a72c4..2a909293 100644 --- a/plugins/otr.py +++ b/plugins/otr.py @@ -544,7 +544,7 @@ class Plugin(BasePlugin): Retrieve or create an OTR context """ jid = safeJID(jid) - if not jid.full in self.contexts: + if jid.full not in self.contexts: flags = POLICY_FLAGS.copy() require = self.config.get_by_tabname('require_encryption', jid.bare, default=False) -- cgit v1.2.3