mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix roster webadmin display
This commit is contained in:
parent
e0bdbcf063
commit
8d783bae15
@ -1068,9 +1068,11 @@ user_roster(User, Server, Query, Lang) ->
|
|||||||
LUser = exmpp_stringprep:nodeprep(User),
|
LUser = exmpp_stringprep:nodeprep(User),
|
||||||
LServer = exmpp_stringprep:nameprep(Server),
|
LServer = exmpp_stringprep:nameprep(Server),
|
||||||
US = {LUser, LServer},
|
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),
|
Res = user_roster_parse_query(User, Server, Items1, Query),
|
||||||
Items = get_roster(LUser, LServer),
|
Items = get_roster(LUserB, LServerB),
|
||||||
SItems = lists:sort(Items),
|
SItems = lists:sort(Items),
|
||||||
FItems =
|
FItems =
|
||||||
case SItems of
|
case SItems of
|
||||||
|
Loading…
Reference in New Issue
Block a user