summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-04-07 22:27:55 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-04-07 22:27:55 +0100
commit8194d9afbdec2daa1377e07ebb26bb99406473d0 (patch)
treeb420ad787328e3d6aa3110b0a1fc7921ecc6a8da
parent89a61b84bdb29d3df8c08436c3484fddba8d2ef1 (diff)
downloadpoezio-8194d9afbdec2daa1377e07ebb26bb99406473d0.tar.gz
poezio-8194d9afbdec2daa1377e07ebb26bb99406473d0.tar.bz2
poezio-8194d9afbdec2daa1377e07ebb26bb99406473d0.tar.xz
poezio-8194d9afbdec2daa1377e07ebb26bb99406473d0.zip
poezio/text_buffer: Remove JID type for now
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index e3961f7f..f942c48e 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -204,7 +204,7 @@ class TextBuffer:
"""Mark a message as errored"""
return self._edit_ack(-1, old_id, jid, append=error)
- def _edit_ack(self, value: int, old_id: str, jid: JID,
+ def _edit_ack(self, value: int, old_id: str, jid: str,
append: str = '') -> Union[None, bool, Message]:
"""
Edit the ack status of a message, and optionally