diff 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
line wrap: on
line diff
--- a/sat/core/constants.py	Thu Nov 12 14:53:15 2020 +0100
+++ b/sat/core/constants.py	Thu Nov 12 14:53:15 2020 +0100
@@ -330,6 +330,7 @@
     ## action constants ##
     META_TYPE_FILE = "file"
     META_TYPE_OVERWRITE = "overwrite"
+    META_TYPE_NOT_IN_ROSTER_LEAK = "not_in_roster_leak"
 
     ## HARD-CODED ACTIONS IDS (generated with uuid.uuid4) ##
     AUTHENTICATE_PROFILE_ID = "b03bbfa8-a4ae-4734-a248-06ce6c7cf562"