From e63fe5c2160088cf1585fc14e32fc13853888f06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Chmielowski?= Date: Wed, 10 Aug 2016 11:16:20 +0200 Subject: [PATCH] Fix result type of subscribe_room command --- src/mod_muc_admin.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index a07ac0bc9..692dedf5f 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -157,7 +157,7 @@ get_commands_spec() -> module = ?MODULE, function = subscribe_room, args = [{user, binary}, {nick, binary}, {room, binary}, {nodes, binary}], - result = {list, {node, string}}}, + result = {nodes, {list, {node, string}}}}, #ejabberd_commands{name = unsubscribe_room, tags = [muc_room], desc = "Unsubscribe from a MUC conference", module = ?MODULE, function = unsubscribe_room, -- 2.40.0