Software /
code /
prosody-modules
Changeset
5926:8ff308fad9fd
mod_mam_archive: remove invalid disco#info feature
The feature which was previously added to disco#info was in fact
specified to be used for stream features only (see XEP-0136
section 11).
Emitting it in disco#info is weird at best and breaks stuff at
worst.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Thu, 09 May 2024 10:13:26 +0200 |
parents | 5925:9ed02a4f6ff4 |
children | 5927:6fb26b6691c0 |
files | mod_mam_archive/mod_mam_archive.lua |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_mam_archive/mod_mam_archive.lua Wed May 08 12:48:41 2024 +0100 +++ b/mod_mam_archive/mod_mam_archive.lua Thu May 09 10:13:26 2024 +0200 @@ -20,12 +20,6 @@ local resolve_relative_path = require "core.configmanager".resolve_relative_path; -- Feature discovery -local xmlns_archive = "urn:xmpp:archive" -local feature_archive = st.stanza("feature", {xmlns=xmlns_archive}):tag("optional"); -if(global_default_policy) then - feature_archive:tag("default"); -end -module:add_extension(feature_archive); module:add_feature("urn:xmpp:archive:auto"); module:add_feature("urn:xmpp:archive:manage"); module:add_feature("urn:xmpp:archive:pref");