Diff

plugins/muc/persistent.lib.lua @ 9014:326fedc1d3c6

MUC: Unset persistence of destroyed rooms later in event chain
author Kim Alvefur <zash@zash.se>
date Wed, 11 Jul 2018 03:28:45 +0200
parent 7401:e16b3fd0bd80
child 9034:1c709e3d2e5e
line wrap: on
line diff
--- 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;