mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix exmpp bug in mod_pubsub_odbc
This commit is contained in:
parent
f32332cdfc
commit
e0bdbcf063
@ -3759,8 +3759,8 @@ odbc_conn(Host) ->
|
|||||||
lists:dropwhile(fun(A) -> A/=$. end, Host) -- ".".
|
lists:dropwhile(fun(A) -> A/=$. end, Host) -- ".".
|
||||||
|
|
||||||
%% escape value for database storage
|
%% escape value for database storage
|
||||||
escape({_U, _H, _R}=JID)->
|
escape({U, H, R}=JID)->
|
||||||
ejabberd_odbc:escape(exmpp_jid:to_list(JID));
|
ejabberd_odbc:escape(exmpp_jid:to_list(U, H, R));
|
||||||
escape(Value)->
|
escape(Value)->
|
||||||
ejabberd_odbc:escape(Value).
|
ejabberd_odbc:escape(Value).
|
||||||
%%%% helpers
|
%%%% helpers
|
||||||
|
Loading…
Reference in New Issue
Block a user