mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-06 21:37:17 +02: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>
|
2005-10-15 Alexey Shchepin <alexey@sevcom.net>
|
||||||
|
|
||||||
|
* src/mod_roster_odbc.erl: Bugfix
|
||||||
|
|
||||||
* src/ejabberd_c2s.erl: Updated to work correctly with
|
* src/ejabberd_c2s.erl: Updated to work correctly with
|
||||||
mod_vcard_odbc
|
mod_vcard_odbc
|
||||||
|
|
||||||
|
|
|
@ -841,7 +841,7 @@ record_to_string(#roster{user = User,
|
||||||
subscription = Subscription,
|
subscription = Subscription,
|
||||||
ask = Ask}) ->
|
ask = Ask}) ->
|
||||||
Username = ejabberd_odbc:escape(User),
|
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),
|
Nick = ejabberd_odbc:escape(Name),
|
||||||
SSubscription = case Subscription of
|
SSubscription = case Subscription of
|
||||||
both -> "B";
|
both -> "B";
|
||||||
|
@ -869,7 +869,7 @@ groups_to_string(#roster{user = User,
|
||||||
jid = JID,
|
jid = JID,
|
||||||
groups = Groups}) ->
|
groups = Groups}) ->
|
||||||
Username = ejabberd_odbc:escape(User),
|
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, "',"
|
"'", Username, "',"
|
||||||
"'", SJID, "',"
|
"'", SJID, "',"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user