From 549f13b753abfbc90fc6faffeae7b5a662407b77 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 6 Jun 2018 00:35:42 +0200 Subject: MUC: Track rooms created via internal public API Fixes muc:create() in the telnet console --- plugins/muc/mod_muc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/muc') diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 3cdc5d87..f8963b38 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -231,7 +231,7 @@ function create_room(room_jid, config) module:fire_event("muc-room-created", { room = room; }); - return room; + return track_room(room); end function each_room(local_only) -- cgit v1.2.3