summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-22 18:07:54 +0200
committermathieui <mathieui@mathieui.net>2020-05-23 16:13:44 +0200
commitf282b14e8d8314b3ec95268571093c6e2295458c (patch)
treee028e0c9635e3eb7e041da6eeef17ad0ff1bf9b4 /poezio/text_buffer.py
parentd3863fad18cd7e6b3e764b663724718401c84bde (diff)
downloadpoezio-f282b14e8d8314b3ec95268571093c6e2295458c.tar.gz
poezio-f282b14e8d8314b3ec95268571093c6e2295458c.tar.bz2
poezio-f282b14e8d8314b3ec95268571093c6e2295458c.tar.xz
poezio-f282b14e8d8314b3ec95268571093c6e2295458c.zip
Fix typing in mam.py
Diffstat (limited to 'poezio/text_buffer.py')
-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 f5886ae0..c1fae54d 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -149,7 +149,7 @@ class TextBuffer:
return i + 1
return None
- def add_history_messages(self, messages: List[Message], gap: Optional[HistoryGap] = None) -> None:
+ def add_history_messages(self, messages: List[BaseMessage], gap: Optional[HistoryGap] = None) -> None:
"""Insert history messages at their correct place """
index = 0
if gap is not None: