24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-09-15 13:51:17 +02:00

fix add_rosteritem issue (TECH-1181)

This commit is contained in:
Christophe Romain 2010-10-19 15:19:41 +02:00
parent aa60140ba8
commit c849552177

View File

@ -576,9 +576,9 @@ add_rosteritem(User, Server, JID, Nick, Group, Subscription, Push) ->
{selected, ["username"],[]} ->
ItemVals = record_to_string(Roster),
ItemGroups = groups_to_string(Roster),
odbc_queries:update_roster(Server, Username,
SJID, ItemVals,
ItemGroups);
ejabberd_odbc:sql_query_t(
odbc_queries:update_roster_sql(
Username, SJID, ItemVals, ItemGroups));
_ ->
already_added
end