Remove workaround, as now the correct #roster format is received

This commit is contained in:
Badlop 2011-10-10 17:15:04 +02:00
parent b2a6eccded
commit e681f4d4cf
1 changed files with 3 additions and 3 deletions

View File

@ -175,9 +175,9 @@ get_user_roster(Items, US) ->
%% Export items in roster format:
ModVcard = get_vcard_module(S),
SRItems = [#roster{usj = {list_to_binary(U), list_to_binary(S), {list_to_binary(U1), list_to_binary(S1), undefined}},
us = {list_to_binary(U), list_to_binary(S)},
jid = {list_to_binary(U1), list_to_binary(S1), undefined},
SRItems = [ #roster{usj = {U, S, {U1, S1, undefined}},
us = {U, S},
jid = {U1, S1, undefined},
name = get_rosteritem_name(ModVcard, U1, S1),
subscription = both,
ask = none,