comparison 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
comparison
equal deleted inserted replaced
4051:c23cad65ae99 4052:2ced30f6d5de
288 else: 288 else:
289 log.warning("FIXME: unmanaged action {}".format(action)) 289 log.warning("FIXME: unmanaged action {}".format(action))
290 290
291 return transport_elt 291 return transport_elt
292 292
293 def jingle_terminate(self, client, action, session, content_name, reason_elt): 293 def jingle_terminate(
294 self,
295 client: SatXMPPEntity,
296 action: str,
297 session: dict,
298 content_name: str,
299 reason_elt: domish.Element,
300 ) -> None:
294 log.debug("ICE-UDP session terminated") 301 log.debug("ICE-UDP session terminated")
295 302
296 def update_candidates( 303 def update_candidates(
297 self, 304 self,
298 transport_data: dict, 305 transport_data: dict,