diff options
author | Alexey Shchepin <alexey@process-one.net> | 2005-10-15 14:41:48 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2005-10-15 14:41:48 +0000 |
commit | f85767fae45e711e9a7c420799a9205cd596353c (patch) | |
tree | e71958d24eb154d4eab5fef52a3126c6b6d4cbb5 /src | |
parent | * src/ejabberd_c2s.erl: Updated to work correctly with (diff) |
* src/mod_roster_odbc.erl: Bugfix
SVN Revision: 420
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_roster_odbc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_roster_odbc.erl b/src/mod_roster_odbc.erl index 3038a0666..27ff539ea 100644 --- a/src/mod_roster_odbc.erl +++ b/src/mod_roster_odbc.erl @@ -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, "'," |