mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix roster display in WebAdmin
This commit is contained in:
parent
67cced15b9
commit
7471d49b5a
@ -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),
|
||||||
|
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user