mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-14 22:00:16 +02:00
* src/mod_echo.erl: Put in comments the call to the educational
function do_client_version SVN Revision: 1166
This commit is contained in:
parent
b29e6ef07f
commit
ae90a16714
|
@ -1,3 +1,8 @@
|
||||||
|
2008-01-30 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/mod_echo.erl: Put in comments the call to the educational
|
||||||
|
function do_client_version
|
||||||
|
|
||||||
2008-01-29 Badlop <badlop@process-one.net>
|
2008-01-29 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
|
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
|
||||||
|
|
|
@ -121,7 +121,7 @@ handle_info({route, From, To, Packet}, State) ->
|
||||||
"" -> jlib:make_error_reply(Packet, ?ERR_BAD_REQUEST);
|
"" -> jlib:make_error_reply(Packet, ?ERR_BAD_REQUEST);
|
||||||
_ -> Packet
|
_ -> Packet
|
||||||
end,
|
end,
|
||||||
do_client_version(To, From),
|
%%do_client_version(To, From),
|
||||||
ejabberd_router:route(To, From, Packet2),
|
ejabberd_router:route(To, From, Packet2),
|
||||||
{noreply, State};
|
{noreply, State};
|
||||||
handle_info(_Info, State) ->
|
handle_info(_Info, State) ->
|
||||||
|
@ -146,9 +146,12 @@ code_change(_OldVsn, State, _Extra) ->
|
||||||
{ok, State}.
|
{ok, State}.
|
||||||
|
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
%%% Internal functions
|
%% Example of routing XMPP packets using Erlang's message passing
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
|
%% To enable this educational example, uncomment the call to the
|
||||||
|
%% function do_client_version in handle_info.
|
||||||
|
|
||||||
%% ejabberd provides a method to receive XMPP packets using Erlang's
|
%% ejabberd provides a method to receive XMPP packets using Erlang's
|
||||||
%% message passing mechanism.
|
%% message passing mechanism.
|
||||||
%%
|
%%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user