25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-17 15:29:23 +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"],[]} -> {selected, ["username"],[]} ->
ItemVals = record_to_string(Roster), ItemVals = record_to_string(Roster),
ItemGroups = groups_to_string(Roster), ItemGroups = groups_to_string(Roster),
odbc_queries:update_roster(Server, Username, ejabberd_odbc:sql_query_t(
SJID, ItemVals, odbc_queries:update_roster_sql(
ItemGroups); Username, SJID, ItemVals, ItemGroups));
_ -> _ ->
already_added already_added
end end