changeset 4290:4837ec911c43

plugin XEP-0176: add debug logs: rel 447
author Goffi <goffi@goffi.org>
date Mon, 29 Jul 2024 03:31:06 +0200
parents 33ecebb2c02f
children 39ac821ebbdb
files libervia/backend/plugins/plugin_xep_0176.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0176.py	Mon Jul 29 03:31:02 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0176.py	Mon Jul 29 03:31:06 2024 +0200
@@ -255,6 +255,9 @@
         else:
             if not buffer:
                 del session["XEP-0176_ice_buffer"]
+            local_jid = session["local_jid"]
+            peer_jid = session["peer_jid"]
+            log.debug(f"Replaying ICE buffer from {local_jid} to {peer_jid}")
             transport_elt = self.build_transport(buffered_ice_data)
             iq_elt, __ = self._j.build_action(
                 client,