summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-09-10 17:59:51 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-09-10 17:59:51 +0200
commitbf37cf5f5ad730496162cf0011dcab7b0ebccfa0 (patch)
treeae48797e96c1ef82fc08449a4ef982858732a7e0
parent73292f7f5e7188413d2a6a1666c9099a4ef976a1 (diff)
downloadpoezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.gz
poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.bz2
poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.tar.xz
poezio-bf37cf5f5ad730496162cf0011dcab7b0ebccfa0.zip
poezio/mam: remove unused imports, add missing md5 import
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/mam.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/poezio/mam.py b/poezio/mam.py
index 919bb6dd..aa87dc4e 100644
--- a/poezio/mam.py
+++ b/poezio/mam.py
@@ -6,17 +6,18 @@
XEP-0313: Message Archive Management(MAM).
"""
-import asyncio
import random
from datetime import datetime, timedelta, timezone
+from hashlib import md5
+from typing import Optional, Callable
+
from slixmpp import JID
from slixmpp.exceptions import IqError, IqTimeout
from poezio.theming import get_theme
from poezio import tabs
from poezio import xhtml, colors
from poezio.config import config
-from poezio.text_buffer import Message, TextBuffer
-from typing import List, Optional, Callable
+from poezio.text_buffer import TextBuffer
class DiscoInfoException(Exception): pass