Changeset

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
parents 9013:a54bcc76cd22
children 9015:dc606dc89f44
files plugins/muc/persistent.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;