Source code for slidge_whatsapp.config
"""
Config contains plugin-specific configuration for WhatsApp, and is loaded automatically by the
core configuration framework.
"""
from slidge import global_config
# FIXME: workaround because global_config.HOME_DIR is not defined unless
# called by slidge's main(), which is a problem for test and docs
try:
DB_PATH__DOC = "The path to the database used for the WhatsApp plugin."
except AttributeError:
pass
[docs]ALWAYS_SYNC_ROSTER__DOC = (
"Whether or not to perform a full sync of the WhatsApp roster on startup."
)
[docs]SKIP_VERIFY_TLS__DOC = (
"Whether or not HTTPS connections made by this plugin should verify TLS"
" certificates."
)
[docs]ENABLE_LINK_PREVIEWS__DOC = (
"Whether or not previews for links (URLs) should be generated on outgoing messages"
)