diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-29 04:24:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-29 04:24:43 +0200 |
commit | e138e9ce1cc547fb98e741a2ec94bcc01ca1a34f (patch) | |
tree | 37d9fc2b56656e99d8985a8d1874d13306ec7618 /plugins/mod_muc_mam.lua | |
parent | 6d59e4b93438a9354d8d9ecc1d9b4676012da543 (diff) | |
download | prosody-e138e9ce1cc547fb98e741a2ec94bcc01ca1a34f.tar.gz prosody-e138e9ce1cc547fb98e741a2ec94bcc01ca1a34f.zip |
mod_muc_mam: Set status code 170/171 on archiving configuration change
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index 3fdaeaa4..cfc383fc 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -83,6 +83,7 @@ if not log_all_rooms then module:hook("muc-config-submitted/"..muc_form_enable, function(event) event.room._data.archiving = event.value; + event.status_codes[event.value and "170" or "171"] = true; end); end |