comparison libervia/backend/core/constants.py @ 4220:5a0bddfa34ac

plugin XEP-0234: fix action type when pre-flight file confirmation is confirmed: the `C.META_TYPE_FILE` can't be used in this case as it is a preflight and we don't have yet data such as progress ID. `C.META_TYPE_FILE` is used as a sub-type to help with dialog management in frontend.
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 17:31:49 +0100
parents b26339343076
children dd9bc7d791d7
comparison
equal deleted inserted replaced
4219:1b5cf2ee1d86 4220:5a0bddfa34ac
345 "output", 345 "output",
346 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT, 346 LOG_OPT_OUTPUT_SEP + LOG_OPT_OUTPUT_DEFAULT,
347 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory) 347 ) # //default = normal output (stderr or a file with twistd), path/to/file for a file (must be the first if used), //memory for memory (options can be put in parenthesis, e.g.: //memory(500) for a 500 lines memory)
348 348
349 ## action constants ## 349 ## action constants ##
350 #: simple confirmation dialog
351 META_TYPE_CONFIRM = "confirm"
350 META_TYPE_FILE = "file" 352 META_TYPE_FILE = "file"
351 META_TYPE_CALL = "call" 353 META_TYPE_CALL = "call"
352 META_TYPE_OVERWRITE = "overwrite" 354 META_TYPE_OVERWRITE = "overwrite"
353 META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak" 355 META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak"
354 META_SUBTYPE_CALL_AUDIO = "audio" 356 META_SUBTYPE_CALL_AUDIO = "audio"