diff --git a/metronome.release b/metronome.release index 97ceee1b..8a4b2758 100644 --- a/metronome.release +++ b/metronome.release @@ -1 +1 @@ -3.1.5 \ No newline at end of file +3.1.6 \ No newline at end of file diff --git a/plugins/mam/mod_mam.lua b/plugins/mam/mod_mam.lua index b998fe62..d9f3b9e5 100644 --- a/plugins/mam/mod_mam.lua +++ b/plugins/mam/mod_mam.lua @@ -187,7 +187,7 @@ function module.unload() end end -module:hook("pre-resource-unbind", save_session_store); +module:hook("pre-resource-unbind", save_session_store, 30); module:hook("resource-bind", initialize_session_store); module:hook("message/bare", process_inbound_messages, 30);