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:
parent
aa60140ba8
commit
c849552177
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user