aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-11 03:28:45 +0200
committerKim Alvefur <zash@zash.se>2018-07-11 03:28:45 +0200
commitdf4c41752c7be189d2188fa917bb5c83074e4bdc (patch)
tree788095123863dabb72a1fa5dc1ae59a4132d1b79 /plugins/muc
parentce04878f1f11a301cc065119af9b6d595296f10e (diff)
downloadprosody-df4c41752c7be189d2188fa917bb5c83074e4bdc.tar.gz
prosody-df4c41752c7be189d2188fa917bb5c83074e4bdc.zip
MUC: Unset persistence of destroyed rooms later in event chain
Diffstat (limited to 'plugins/muc')
-rw-r--r--plugins/muc/persistent.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/persistent.lib.lua b/plugins/muc/persistent.lib.lua
index abceafe1..4bc61930 100644
--- a/plugins/muc/persistent.lib.lua
+++ b/plugins/muc/persistent.lib.lua
@@ -39,7 +39,7 @@ end);
module:hook("muc-room-destroyed", function(event)
set_persistent(event.room, false);
-end);
+end, -100);
return {
get = get_persistent;