]> granicus.if.org Git - ejabberd/commitdiff
Fix result type of subscribe_room command
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 10 Aug 2016 09:16:20 +0000 (11:16 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 10 Aug 2016 09:22:19 +0000 (11:22 +0200)
src/mod_muc_admin.erl

index a07ac0bc99eede3c348e94475581845cdfbd013f..692dedf5f32e38d4d9a452b6fc87b5473e3215e7 100644 (file)
@@ -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,