# HG changeset patch # User Kim Alvefur # Date 1531272525 -7200 # Node ID 326fedc1d3c63b723e1fe7c582a800337255a6fc # Parent a54bcc76cd228285c2dd41a138fff8379cfa1e7f MUC: Unset persistence of destroyed rooms later in event chain diff -r a54bcc76cd22 -r 326fedc1d3c6 plugins/muc/persistent.lib.lua --- a/plugins/muc/persistent.lib.lua Wed Jul 11 03:27:18 2018 +0200 +++ b/plugins/muc/persistent.lib.lua Wed Jul 11 03:28:45 2018 +0200 @@ -39,7 +39,7 @@ module:hook("muc-room-destroyed", function(event) set_persistent(event.room, false); -end); +end, -100); return { get = get_persistent;