Compare commits
3 Commits
d2a3ab0adb
...
e74d5417ad
| Author | SHA1 | Date | |
|---|---|---|---|
| e74d5417ad | |||
| 7d0f8b3640 | |||
| 980e5ac51f |
@ -323,6 +323,7 @@ class ChatDB(Chat):
|
|||||||
* 'glob': if specified, files will be filtered using 'path.glob()'
|
* 'glob': if specified, files will be filtered using 'path.glob()'
|
||||||
* 'mfilter': use with 'Message.from_file()' to filter messages
|
* 'mfilter': use with 'Message.from_file()' to filter messages
|
||||||
when reading them.
|
when reading them.
|
||||||
|
* 'loc': read messages from given location instead of 'db_path'
|
||||||
"""
|
"""
|
||||||
messages: list[Message] = []
|
messages: list[Message] = []
|
||||||
if loc in [msg_location.DB, msg_location.DISK, msg_location.ALL]:
|
if loc in [msg_location.DB, msg_location.DISK, msg_location.ALL]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user