From 26c0e9a21a4ae855e7355df2c8a5fbe0442b2b19 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 11 Jul 2018 03:28:45 +0200 Subject: MUC: Unset persistence of destroyed rooms later in event chain --- plugins/muc/persistent.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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; -- cgit v1.2.3