From 79ffa1668f5a727d384543aa111010b801cffb85 Mon Sep 17 00:00:00 2001 From: nicoco Date: Fri, 24 Feb 2023 00:10:31 +0100 Subject: [PATCH] XEP-0461: fix fallback namespace the XEP should be updated soon, confirmed by author, other implementations use this namespace --- slixmpp/plugins/xep_0461/stanza.py | 2 +- tests/test_stanza_xep_0461.py | 2 +- tests/test_stream_xep_0461.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slixmpp/plugins/xep_0461/stanza.py b/slixmpp/plugins/xep_0461/stanza.py index f52d0964..b4a36b60 100644 --- a/slixmpp/plugins/xep_0461/stanza.py +++ b/slixmpp/plugins/xep_0461/stanza.py @@ -13,7 +13,7 @@ class Reply(ElementBase): class FeatureFallBack(ElementBase): # should also be a multi attrib - namespace = "urn:xmpp:feature-fallback:0" + namespace = "urn:xmpp:fallback:0" name = "fallback" plugin_attrib = "feature_fallback" interfaces = {"for"} diff --git a/tests/test_stanza_xep_0461.py b/tests/test_stanza_xep_0461.py index f6f21210..202e2083 100644 --- a/tests/test_stanza_xep_0461.py +++ b/tests/test_stanza_xep_0461.py @@ -35,7 +35,7 @@ class TestReply(SlixTest): """ 12345\nrealbody - + diff --git a/tests/test_stream_xep_0461.py b/tests/test_stream_xep_0461.py index b73a9964..9062a056 100644 --- a/tests/test_stream_xep_0461.py +++ b/tests/test_stream_xep_0461.py @@ -28,7 +28,7 @@ class TestReply(SlixTest): > quoted\nsome-body - +