XEP-0461: fix fallback namespace
the XEP should be updated soon, confirmed by author, other implementations use this namespace
This commit is contained in:
parent
1f934d375c
commit
79ffa1668f
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ class Reply(ElementBase):
|
||||||
|
|
||||||
class FeatureFallBack(ElementBase):
|
class FeatureFallBack(ElementBase):
|
||||||
# should also be a multi attrib
|
# should also be a multi attrib
|
||||||
namespace = "urn:xmpp:feature-fallback:0"
|
namespace = "urn:xmpp:fallback:0"
|
||||||
name = "fallback"
|
name = "fallback"
|
||||||
plugin_attrib = "feature_fallback"
|
plugin_attrib = "feature_fallback"
|
||||||
interfaces = {"for"}
|
interfaces = {"for"}
|
||||||
|
|
|
@ -35,7 +35,7 @@ class TestReply(SlixTest):
|
||||||
"""
|
"""
|
||||||
<message xmlns="jabber:client">
|
<message xmlns="jabber:client">
|
||||||
<body>12345\nrealbody</body>
|
<body>12345\nrealbody</body>
|
||||||
<fallback xmlns='urn:xmpp:feature-fallback:0' for='NS'>
|
<fallback xmlns='urn:xmpp:fallback:0' for='NS'>
|
||||||
<body start="0" end="6" />
|
<body start="0" end="6" />
|
||||||
</fallback>
|
</fallback>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -28,7 +28,7 @@ class TestReply(SlixTest):
|
||||||
<message id="other-id" from="from@from.com/res">
|
<message id="other-id" from="from@from.com/res">
|
||||||
<reply xmlns="urn:xmpp:reply:0" id="some-id" />
|
<reply xmlns="urn:xmpp:reply:0" id="some-id" />
|
||||||
<body>> quoted\nsome-body</body>
|
<body>> quoted\nsome-body</body>
|
||||||
<fallback xmlns='urn:xmpp:feature-fallback:0' for='urn:xmpp:reply:0'>
|
<fallback xmlns='urn:xmpp:fallback:0' for='urn:xmpp:reply:0'>
|
||||||
<body start="0" end="8" />
|
<body start="0" end="8" />
|
||||||
</fallback>
|
</fallback>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue