From: Paweł Chmielowski Date: Wed, 10 Aug 2016 09:16:20 +0000 (+0200) Subject: Fix result type of subscribe_room command X-Git-Tag: 16.09~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e63fe5c2160088cf1585fc14e32fc13853888f06;p=ejabberd Fix result type of subscribe_room command --- 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,