aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua1
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