25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix roster webadmin display

This commit is contained in:
Badlop 2010-06-17 15:55:33 +02:00
parent e0bdbcf063
commit 8d783bae15

View File

@ -1068,9 +1068,11 @@ user_roster(User, Server, Query, Lang) ->
LUser = exmpp_stringprep:nodeprep(User),
LServer = exmpp_stringprep:nameprep(Server),
US = {LUser, LServer},
Items1 = get_roster(LUser, LServer),
LUserB = list_to_binary(LUser),
LServerB = list_to_binary(LServer),
Items1 = get_roster(LUserB, LServerB),
Res = user_roster_parse_query(User, Server, Items1, Query),
Items = get_roster(LUser, LServer),
Items = get_roster(LUserB, LServerB),
SItems = lists:sort(Items),
FItems =
case SItems of