Mercurial > libervia-web
diff libervia/web/pages/chat/page_meta.py @ 1543:f00497c00e38
pages (chat): fix `own_jid` exposure:
`own_jid` is a `JID` instance, and must be casted to str to be exposed.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 06 Jul 2023 12:05:48 +0200 |
parents | dc81403a5b2f |
children | 7941444c1671 |
line wrap: on
line diff
--- a/libervia/web/pages/chat/page_meta.py Wed Jun 28 10:09:15 2023 +0200 +++ b/libervia/web/pages/chat/page_meta.py Thu Jul 06 12:05:48 2023 +0200 @@ -100,7 +100,7 @@ self.expose_to_scripts( request, room_subject=room_subject, - own_jid=own_jid, + own_jid=str(own_jid), target_jid=target_jid, chat_type=chat_type, )