diff sat/plugins/plugin_xep_0176.py @ 4052:2ced30f6d5de

plugin XEP-0166, 0176, 0234: minor renaming + type hints
author Goffi <goffi@goffi.org>
date Mon, 29 May 2023 13:32:19 +0200
parents ae756bf7c3e8
children 4c8bf67bfbeb
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0176.py	Mon May 29 13:32:08 2023 +0200
+++ b/sat/plugins/plugin_xep_0176.py	Mon May 29 13:32:19 2023 +0200
@@ -290,7 +290,14 @@
 
         return transport_elt
 
-    def jingle_terminate(self, client, action, session, content_name, reason_elt):
+    def jingle_terminate(
+        self,
+        client: SatXMPPEntity,
+        action: str,
+        session: dict,
+        content_name: str,
+        reason_elt: domish.Element,
+    ) -> None:
         log.debug("ICE-UDP session terminated")
 
     def update_candidates(