Commit faa3b222 authored by Maxime Buquet's avatar Maxime Buquet

poezio/mam: add_messages_to_buffer returns a bool not None

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