diff sat/plugins/plugin_xep_0215.py @ 4044:3900626bc100

plugin XEP-0166: refactoring, and various improvments: - add models for transport and applications handlers and linked data - split models into separate file - some type hints - some documentation comments - add actions to prepare confirmation, useful to do initial parsing of all contents - application arg/kwargs and some transport data can be initialised during Jingle `initiate` call, this is notably useful when a call is made with transport data (this is the call for A/V calls where codecs and ICE candidate can be specified when starting a call) - session data can be specified during Jingle `initiate` call - new `store_in_session` argument in `_parse_elements`, which can be used to avoid race-condition when a context element (<decription> or <transport>) is being parsed for an action while an other action happens (like `transport-info`) - don't sed `sid` in `transport_elt` during a `transport-info` action anymore in `build_action`: this is specific to Jingle File Transfer and has been moved there rel 419
author Goffi <goffi@goffi.org>
date Mon, 15 May 2023 16:23:11 +0200
parents 524856bd7b19
children
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0215.py	Mon May 15 16:20:58 2023 +0200
+++ b/sat/plugins/plugin_xep_0215.py	Mon May 15 16:23:11 2023 +0200
@@ -167,7 +167,7 @@
 
         Response is cached after first query
 
-        @param entity: XMPP entity to query. Defaut to our own server
+        @param entity: XMPP entity to query. Default to our own server
         @return: found services
         """
         if entity is None: