25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Merge pull request #2274 from Torxen/feature/fixed-return-value-mod_muc

Issue: mod_muc.erl expect wrong return value
This commit is contained in:
Evgeny Khramtsov 2018-02-12 17:36:47 +03:00 committed by GitHub
commit 42794ce4e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,7 @@
-callback unregister_online_user(binary(), ljid(), binary(), binary()) -> any().
-callback count_online_rooms_by_user(binary(), binary(), binary()) -> non_neg_integer().
-callback get_online_rooms_by_user(binary(), binary(), binary()) -> [{binary(), binary()}].
-callback get_subscribed_rooms(binary(), binary(), jid()) ->
{ok, [{ljid(), binary(), [binary()]}]} | {error, any()}.
-callback get_subscribed_rooms(binary(), binary(), jid()) -> [ljid()] | [].
%%====================================================================
%% API
@ -727,7 +726,7 @@ iq_get_register_info(ServerHost, Host, From, Lang) ->
instructions = [Inst], fields = Fields},
#register{nick = Nick,
registered = Registered,
instructions =
instructions =
translate:translate(
Lang, <<"You need a client that supports x:data "
"to register the nickname">>),