diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-06 00:35:42 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-06 00:35:42 +0200 |
commit | 549f13b753abfbc90fc6faffeae7b5a662407b77 (patch) | |
tree | 3c5ae6b8e60cad63f1f5f5d1fc5229340f1249fd /plugins/muc | |
parent | 5ad0f9390a31c7506992351542a07796d66e3f9f (diff) | |
download | prosody-549f13b753abfbc90fc6faffeae7b5a662407b77.tar.gz prosody-549f13b753abfbc90fc6faffeae7b5a662407b77.zip |
MUC: Track rooms created via internal public API
Fixes muc:create() in the telnet console
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |