mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_muc_mam: Set status code 170/171 on archiving configuration change
This commit is contained in:
parent
72104f7f69
commit
6ec6095d77
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue