poezio/mam: add_messages_to_buffer returns a bool not None
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
d1c239999c
commit
faa3b22265
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue