mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
Dialyzer checks always failed because the return value of the function 'get_subscribed_rooms' in 'mod_muc_sql' is different to the defined value in 'mod_muc'. Fix was to update the return value in 'mod_muc.erl'.
This commit is contained in:
parent
66fc1bf3b6
commit
9188a7b838
|
@ -107,8 +107,7 @@
|
||||||
-callback unregister_online_user(binary(), ljid(), binary(), binary()) -> any().
|
-callback unregister_online_user(binary(), ljid(), binary(), binary()) -> any().
|
||||||
-callback count_online_rooms_by_user(binary(), binary(), binary()) -> non_neg_integer().
|
-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_online_rooms_by_user(binary(), binary(), binary()) -> [{binary(), binary()}].
|
||||||
-callback get_subscribed_rooms(binary(), binary(), jid()) ->
|
-callback get_subscribed_rooms(binary(), binary(), jid()) -> [ljid()] | [].
|
||||||
{ok, [{ljid(), binary(), [binary()]}]} | {error, any()}.
|
|
||||||
|
|
||||||
%%====================================================================
|
%%====================================================================
|
||||||
%% API
|
%% API
|
||||||
|
@ -727,7 +726,7 @@ iq_get_register_info(ServerHost, Host, From, Lang) ->
|
||||||
instructions = [Inst], fields = Fields},
|
instructions = [Inst], fields = Fields},
|
||||||
#register{nick = Nick,
|
#register{nick = Nick,
|
||||||
registered = Registered,
|
registered = Registered,
|
||||||
instructions =
|
instructions =
|
||||||
translate:translate(
|
translate:translate(
|
||||||
Lang, <<"You need a client that supports x:data "
|
Lang, <<"You need a client that supports x:data "
|
||||||
"to register the nickname">>),
|
"to register the nickname">>),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user