summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo_plugin.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index df839fc4..10988435 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -11,18 +11,19 @@
import os
import asyncio
-import textwrap
+import logging
+from typing import List, Optional
+
from poezio.plugin import BasePlugin
from poezio.tabs import ConversationTab
from poezio.xdg import DATA_HOME
+
from slixmpp import JID
from slixmpp.plugins.xep_0384.plugin import MissingOwnKey
-from typing import List, Optional
-
-import logging
log = logging.getLogger(__name__)
+
class Plugin(BasePlugin):
def init(self):
self.info = lambda i: self.api.information(i, 'Info')