mirror of
https://github.com/bjc/prosody.git
synced 2025-04-02 04:37:39 +03:00
doap: Add XEP-0333
This commit is contained in:
parent
780b392d25
commit
be51e54c68
3 changed files with 9 additions and 2 deletions
|
@ -724,6 +724,15 @@
|
||||||
<xmpp:note>refers to inclusion of delay stamp in presence</xmpp:note>
|
<xmpp:note>refers to inclusion of delay stamp in presence</xmpp:note>
|
||||||
</xmpp:SupportedXep>
|
</xmpp:SupportedXep>
|
||||||
</implements>
|
</implements>
|
||||||
|
<implements>
|
||||||
|
<xmpp:SupportedXep>
|
||||||
|
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0333.html"/>
|
||||||
|
<xmpp:version>1.0.0</xmpp:version>
|
||||||
|
<xmpp:since>0.10.0</xmpp:since>
|
||||||
|
<xmpp:status>partial</xmpp:status>
|
||||||
|
<xmpp:note>Used in mod_mam and mod_muc</xmpp:note>
|
||||||
|
</xmpp:SupportedXep>
|
||||||
|
</implements>
|
||||||
<implements>
|
<implements>
|
||||||
<xmpp:SupportedXep>
|
<xmpp:SupportedXep>
|
||||||
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0334.html"/>
|
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0334.html"/>
|
||||||
|
|
|
@ -364,7 +364,6 @@ local function should_store(stanza) --> boolean, reason: string
|
||||||
return true, "receipt";
|
return true, "receipt";
|
||||||
end
|
end
|
||||||
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
|
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
|
||||||
-- XXX Experimental XEP
|
|
||||||
return true, "marker";
|
return true, "marker";
|
||||||
end
|
end
|
||||||
if stanza:get_child("x", "jabber:x:conference")
|
if stanza:get_child("x", "jabber:x:conference")
|
||||||
|
|
|
@ -218,7 +218,6 @@ module:hook("muc-message-is-historic", function (event)
|
||||||
return true, "encrypted";
|
return true, "encrypted";
|
||||||
end
|
end
|
||||||
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
|
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
|
||||||
-- XXX Experimental XEP
|
|
||||||
return true, "marker";
|
return true, "marker";
|
||||||
end
|
end
|
||||||
end, -1);
|
end, -1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue