From 8194d9afbdec2daa1377e07ebb26bb99406473d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 7 Apr 2019 22:27:55 +0100 Subject: [PATCH] poezio/text_buffer: Remove JID type for now MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/text_buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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