From e5781641f321ae64dbc2608b99164f9873999dd8 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 12 Aug 2026 18:02:14 +0200 Subject: [PATCH] plugin XEP-0045: Fix use of empty string for nicks: If empty string is used for nick in `join` (e.g., due to a bridge call), take use part of the JID. This fix the use of empty resource, which was resulting in rejection by the server. --- libervia/backend/plugins/plugin_xep_0045.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libervia/backend/plugins/plugin_xep_0045.py b/libervia/backend/plugins/plugin_xep_0045.py index 3c20706a..25ed7f90 100644 --- a/libervia/backend/plugins/plugin_xep_0045.py +++ b/libervia/backend/plugins/plugin_xep_0045.py @@ -907,7 +907,7 @@ class XEP_0045: @return: The joined room. @raise AlreadyJoined: The room is already joined by this profile. """ - if nick is None: + if not nick: nick = client.jid.user if options is None: options = {}