From d2fd11df13d940d5c7b49d95d9ce66a833d3231c Mon Sep 17 00:00:00 2001 From: Goffi Date: Sun, 3 May 2026 16:48:30 +0200 Subject: [PATCH] plugin XEP-215: Use bare JID instead of raising an exception on full jid. --- libervia/backend/plugins/plugin_xep_0215.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libervia/backend/plugins/plugin_xep_0215.py b/libervia/backend/plugins/plugin_xep_0215.py index aff4dde6..3296cfe8 100644 --- a/libervia/backend/plugins/plugin_xep_0215.py +++ b/libervia/backend/plugins/plugin_xep_0215.py @@ -172,9 +172,7 @@ class XEP_0215: """ if entity is None: entity = client.server_jid - - if entity.resource: - raise exceptions.DataError("A bare jid was expected for target entity") + entity = entity.userhostJID() try: cached_services = client._xep_0215_services[entity]