Compare commits

..

3 Commits

View File

@ -323,6 +323,7 @@ class ChatDB(Chat):
* 'glob': if specified, files will be filtered using 'path.glob()'
* 'mfilter': use with 'Message.from_file()' to filter messages
when reading them.
* 'loc': read messages from given location instead of 'db_path'
"""
messages: list[Message] = []
if loc in [msg_location.DB, msg_location.DISK, msg_location.ALL]: