]> granicus.if.org Git - ejabberd/commitdiff
mod_multicast service discovery bugfix (thanks to McPo)(#2968)
authorBadlop <badlop@process-one.net>
Mon, 29 Jul 2019 17:32:10 +0000 (19:32 +0200)
committerBadlop <badlop@process-one.net>
Mon, 29 Jul 2019 17:32:26 +0000 (19:32 +0200)
src/mod_multicast.erl

index ad2256af0b877893ab2721cac1d4fe98fe440132..280484763a66ba07b14d313c7ebced494ca49b12 100644 (file)
@@ -1070,9 +1070,9 @@ iq_disco_info_extras(From, State) ->
     case iq_disco_info_extras2(SenderT, Service_limits) of
       [] -> [];
       List_limits_xmpp ->
-           #xdata{type = result,
+           [#xdata{type = result,
                   fields = [?RFIELDT(hidden, <<"FORM_TYPE">>, ?NS_ADDRESS)
-                            | List_limits_xmpp]}
+                            | List_limits_xmpp]}]
     end.
 
 sender_type(From) ->