summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-11-18 12:20:15 +0100
committerBadlop <badlop@process-one.net>2022-11-23 18:40:28 +0100
commit441eca75b23ecc3fd2ae35655d23061fb28cdefa (patch)
treee696bef25400f29b76d8f4d0ca5b7356c36a5cd8
parentOAuth: Accept jid as a HTTP URL query argument (diff)
hibernation_time is not an option worth storing in room state (#3946)
-rw-r--r--src/mod_muc_room.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl
index 3a48d8a6..286a339d 100644
--- a/src/mod_muc_room.erl
+++ b/src/mod_muc_room.erl
@@ -4033,6 +4033,7 @@ set_opts([{Opt, Val} | Opts], StateData) ->
lists:map(fun({U, H}) -> {U, maps:from_list(H)} end,
Val)),
StateData#state{hats_users = Hats};
+ hibernation_time -> StateData;
Other ->
?INFO_MSG("Unknown MUC room option, will be discarded: ~p", [Other]),
StateData