changeset 1615:97ea776df74c

server (pages): fix `own_jid` exposition.
author Goffi <goffi@goffi.org>
date Tue, 06 Aug 2024 23:56:18 +0200
parents 24ba9ce18375
children 6bfeb9f0fb84
files libervia/web/server/pages.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/web/server/pages.py	Tue Aug 06 23:55:36 2024 +0200
+++ b/libervia/web/server/pages.py	Tue Aug 06 23:56:18 2024 +0200
@@ -1416,7 +1416,7 @@
             tz_name=template_data["tz_name"]
         )
         if session_data.jid is not None:
-            self.expose_to_scripts(request, own_jid=session_data.jid)
+            self.expose_to_scripts(request, own_jid=session_data.jid.full())
 
         uri = request.uri.decode()
         try: