summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-09-10 18:26:21 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-09-10 18:26:21 +0200
commitfaa3b2226572111e2a6324aeed6fc50e80acef86 (patch)
tree04d99d095aa96686eede21fd7472e9bf16169a1a
parentd1c239999cc6af702f028141915d20be1b8feac5 (diff)
downloadpoezio-faa3b2226572111e2a6324aeed6fc50e80acef86.tar.gz
poezio-faa3b2226572111e2a6324aeed6fc50e80acef86.tar.bz2
poezio-faa3b2226572111e2a6324aeed6fc50e80acef86.tar.xz
poezio-faa3b2226572111e2a6324aeed6fc50e80acef86.zip
poezio/mam: add_messages_to_buffer returns a bool not None
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/mam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/mam.py b/poezio/mam.py
index 95fc6a5e..bff0d4f9 100644
--- a/poezio/mam.py
+++ b/poezio/mam.py
@@ -118,7 +118,7 @@ async def query(
return results
-async def add_messages_to_buffer(tab, top: bool, results, amount: int) -> None:
+async def add_messages_to_buffer(tab, top: bool, results, amount: int) -> bool:
"""Prepends or appends messages to the tab text_buffer"""
text_buffer = tab._text_buffer