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 | 6ec6095d7765b7df36a10e665c62baf7fcded4cb (patch) | |
tree | 37d9fc2b56656e99d8985a8d1874d13306ec7618 /plugins | |
parent | 72104f7f6921876e8b4ae3256f08d679e39b2a9c (diff) | |
download | prosody-6ec6095d7765b7df36a10e665c62baf7fcded4cb.tar.gz prosody-6ec6095d7765b7df36a10e665c62baf7fcded4cb.zip |
mod_muc_mam: Set status code 170/171 on archiving configuration change
Diffstat (limited to 'plugins')
-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 |