Mercurial > libervia-backend
comparison sat/core/constants.py @ 3405:ecdb3728749e
plugin XEP-0353: Jingle Message Initiation implementation:
This plugin uses the new `XEP-0166_initiate` trigger to initiate a Jingle session with
messages if the peer jid has no resource specified.
On reception, if the sender is not in our roster, a confirmation is requested to user to
avoid leaking presence and IP. If user refuses the session for somebody not in roster,
nothing is sent at all (the request is just ignored).
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 12 Nov 2020 14:53:15 +0100 |
parents | 9081b6c41328 |
children | 4c15271118a2 |
comparison
equal
deleted
inserted
replaced
3404:26a0af6e32c1 | 3405:ecdb3728749e |
---|---|
328 ) # //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) | 328 ) # //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) |
329 | 329 |
330 ## action constants ## | 330 ## action constants ## |
331 META_TYPE_FILE = "file" | 331 META_TYPE_FILE = "file" |
332 META_TYPE_OVERWRITE = "overwrite" | 332 META_TYPE_OVERWRITE = "overwrite" |
333 META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak" | |
333 | 334 |
334 ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ## | 335 ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ## |
335 AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562" | 336 AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562" |
336 CHANGE_XMPP_PASSWD_ID = "878b9387-de2b-413b-950f-e424a147bcd0" | 337 CHANGE_XMPP_PASSWD_ID = "878b9387-de2b-413b-950f-e424a147bcd0" |
337 | 338 |