Verified Commit 7c99b826 authored by mathieui's avatar mathieui

Fix a traceback in the OTR plugin

parent 3b0cddd3
......@@ -824,7 +824,8 @@ class Plugin(BasePlugin):
if isinstance(tab, DynamicConversationTab) and not tab.locked_resource:
ctx = self.find_encrypted_context_with_matching(safeJID(name).bare)
if ctx is not None:
elif action == 'start' or action == 'refresh':
self.otr_start(tab, name, format_dict)
elif action == 'ourfpr':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment