poezio/text_buffer: Remove JID type for now

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 89a61b84
......@@ -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
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