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"],[]} ->
|
{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
|
||||||
|
Loading…
Reference in New Issue
Block a user