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:
Maxime “pep” Buquet 2019-09-10 18:26:21 +02:00
parent d1c239999c
commit faa3b22265
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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