Diff

plugins/muc/mod_muc.lua @ 8877:9182398c64b9

MUC: Track rooms created via internal public API Fixes muc:create() in the telnet console
author Kim Alvefur <zash@zash.se>
date Wed, 06 Jun 2018 00:35:42 +0200
parent 8875:be3230b42f12
child 8879:4dee8c439afc
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Sat Apr 14 16:14:55 2018 +0200
+++ b/plugins/muc/mod_muc.lua	Wed Jun 06 00:35:42 2018 +0200
@@ -231,7 +231,7 @@
 	module:fire_event("muc-room-created", {
 		room = room;
 	});
-	return room;
+	return track_room(room);
 end
 
 function each_room(local_only)