mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
* src/mod_roster_odbc.erl: Bugfix
SVN Revision: 420
This commit is contained in:
parent
9e88ecc1d1
commit
f85767fae4
@ -1,5 +1,7 @@
|
||||
2005-10-15 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/mod_roster_odbc.erl: Bugfix
|
||||
|
||||
* src/ejabberd_c2s.erl: Updated to work correctly with
|
||||
mod_vcard_odbc
|
||||
|
||||
|
@ -841,7 +841,7 @@ record_to_string(#roster{user = User,
|
||||
subscription = Subscription,
|
||||
ask = Ask}) ->
|
||||
Username = ejabberd_odbc:escape(User),
|
||||
SJID = ejabberd_odbc:escape(jlib:jid_to_string(JID)),
|
||||
SJID = ejabberd_odbc:escape(jlib:jid_to_string(jlib:jid_tolower(JID))),
|
||||
Nick = ejabberd_odbc:escape(Name),
|
||||
SSubscription = case Subscription of
|
||||
both -> "B";
|
||||
@ -869,7 +869,7 @@ groups_to_string(#roster{user = User,
|
||||
jid = JID,
|
||||
groups = Groups}) ->
|
||||
Username = ejabberd_odbc:escape(User),
|
||||
SJID = ejabberd_odbc:escape(jlib:jid_to_string(JID)),
|
||||
SJID = ejabberd_odbc:escape(jlib:jid_to_string(jlib:jid_tolower(JID))),
|
||||
[["("
|
||||
"'", Username, "',"
|
||||
"'", SJID, "',"
|
||||
|
Loading…
Reference in New Issue
Block a user