mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/ejabberd_c2s.erl: Updated to work correctly with
mod_vcard_odbc SVN Revision: 419
This commit is contained in:
parent
a773fb0a25
commit
9e88ecc1d1
@ -1,3 +1,8 @@
|
||||
2005-10-15 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/ejabberd_c2s.erl: Updated to work correctly with
|
||||
mod_vcard_odbc
|
||||
|
||||
2005-10-13 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/odbc/ejabberd_odbc.erl: Experimental support for pgsql
|
||||
|
@ -895,10 +895,16 @@ handle_info({route, From, To, Packet}, StateName, StateData) ->
|
||||
IQ = jlib:iq_query_info(Packet),
|
||||
case IQ of
|
||||
#iq{xmlns = ?NS_VCARD} ->
|
||||
ResIQ = mod_vcard:process_sm_iq(From, To, IQ),
|
||||
ejabberd_router:route(To,
|
||||
From,
|
||||
jlib:iq_to_xml(ResIQ)),
|
||||
Host = StateData#state.server,
|
||||
case ets:lookup(sm_iqtable, {?NS_VCARD, Host}) of
|
||||
[{_, Module, Function, Opts}] ->
|
||||
gen_iq_handler:handle(Host, Module, Function, Opts,
|
||||
From, To, IQ);
|
||||
[] ->
|
||||
Err = jlib:make_error_reply(
|
||||
Packet, ?ERR_FEATURE_NOT_IMPLEMENTED),
|
||||
ejabberd_router:route(To, From, Err)
|
||||
end,
|
||||
{false, Attrs, StateData};
|
||||
%-ifdef(PRIVACY_SUPPORT).
|
||||
#iq{} ->
|
||||
|
Loading…
Reference in New Issue
Block a user