aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit26c0e9a21a4ae855e7355df2c8a5fbe0442b2b19 (patch)
tree788095123863dabb72a1fa5dc1ae59a4132d1b79 /plugins
parent2aeae813e21cf7e0ac5d5945cb31e33422a1c1b5 (diff)
downloadprosody-26c0e9a21a4ae855e7355df2c8a5fbe0442b2b19.tar.gz
prosody-26c0e9a21a4ae855e7355df2c8a5fbe0442b2b19.zip
MUC: Unset persistence of destroyed rooms later in event chain
Diffstat (limited to 'plugins')
-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;