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

Fix roster display in WebAdmin

This commit is contained in:
Badlop 2010-04-14 10:58:27 +02:00
parent 67cced15b9
commit 7471d49b5a
2 changed files with 2 additions and 2 deletions

View File

@ -1256,7 +1256,7 @@ user_roster(User, Server, Query, Lang) ->
Groups = Groups =
lists:flatmap( lists:flatmap(
fun(Group) -> fun(Group) ->
[?C(Group), ?BR] [?C(binary_to_list(Group)), ?BR]
end, R#roster.groups), end, R#roster.groups),
Pending = ask_to_pending(R#roster.ask), Pending = ask_to_pending(R#roster.ask),
TDJID = build_contact_jid_td(R#roster.jid), TDJID = build_contact_jid_td(R#roster.jid),

View File

@ -1092,7 +1092,7 @@ user_roster(User, Server, Query, Lang) ->
Groups = Groups =
lists:flatmap( lists:flatmap(
fun(Group) -> fun(Group) ->
[?C(Group), ?BR] [?C(binary_to_list(Group)), ?BR]
end, R#roster.groups), end, R#roster.groups),
Pending = ask_to_pending(R#roster.ask), Pending = ask_to_pending(R#roster.ask),
TDJID = build_contact_jid_td(R#roster.jid), TDJID = build_contact_jid_td(R#roster.jid),