mirror of
https://github.com/ihabunek/toot
synced 2025-01-26 17:24:59 +01:00
5dd53b1b9c
Mastodon allows the user to configure a default visibility which should apply to all clients. This setting is returned by the /api/v1/preferences method. Fetch the user preferences when the TUI starts, and use it to set the default visibility when composing a new toot. The preference can be overridden by a new command-line option, toot tui --default-visibility=. If neither the preference nor the option are set, fall back to get_default_visibility(). |
||
---|---|---|
.. | ||
cli | ||
tui | ||
utils | ||
__init__.py | ||
__main__.py | ||
api.py | ||
auth.py | ||
config.py | ||
entities.py | ||
exceptions.py | ||
http.py | ||
logging.py | ||
output.py | ||
settings.py | ||
typing_compat.py | ||
wcstring.py |