]> granicus.if.org Git - ejabberd/commitdiff
Fix mod_mix_mnesia get_participants/3 callback
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Fri, 7 Dec 2018 17:41:37 +0000 (20:41 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Fri, 7 Dec 2018 17:41:37 +0000 (20:41 +0300)
src/mod_mix_mnesia.erl

index 5786e191f191f24aebdf5b881b3586ec8652e4d7..19b2c39832e625366f9f450d7a7cb03072239d81 100644 (file)
@@ -142,7 +142,7 @@ get_participants(_LServer, Channel, Service) ->
                                  #mix_participant.chan_serv),
     {ok, lists:map(
           fun(#mix_participant{jid = JID, id = ID, nick = Nick}) ->
-                  {ok, {JID, ID, Nick}}
+                  {JID, ID, Nick}
           end, Ret)}.
 
 del_participant(_LServer, Channel, Service, JID) ->