Software /
code /
prosody
Comparison
plugins/mod_muc_mam.lua @ 10815:c432b7172fa3 0.11
mod_muc_mam: Fix missing advertising of XEP-0359, fixes #1547
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 May 2020 22:39:01 +0200 |
parent | 10814:e042b0c8b310 |
child | 10817:7c503938ce1d |
child | 10834:c6e852984d48 |
comparison
equal
deleted
inserted
replaced
10814:e042b0c8b310 | 10815:c432b7172fa3 |
---|---|
393 | 393 |
394 module:add_feature(xmlns_mam); | 394 module:add_feature(xmlns_mam); |
395 | 395 |
396 module:hook("muc-disco#info", function(event) | 396 module:hook("muc-disco#info", function(event) |
397 event.reply:tag("feature", {var=xmlns_mam}):up(); | 397 event.reply:tag("feature", {var=xmlns_mam}):up(); |
398 event.reply:tag("feature", {var=xmlns_st_id}):up(); | |
398 end); | 399 end); |
399 | 400 |
400 -- Cleanup | 401 -- Cleanup |
401 | 402 |
402 local cleanup_after = module:get_option_string("muc_log_expires_after", "1w"); | 403 local cleanup_after = module:get_option_string("muc_log_expires_after", "1w"); |