From df4c41752c7be189d2188fa917bb5c83074e4bdc 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(-) 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