From 7471d49b5ac347120744959b5a2d79fee2517e63 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 14 Apr 2010 10:58:27 +0200 Subject: [PATCH] Fix roster display in WebAdmin --- src/mod_roster.erl | 2 +- src/mod_roster_odbc.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_roster.erl b/src/mod_roster.erl index 13b8bbacf..5d20c1ae6 100644 --- a/src/mod_roster.erl +++ b/src/mod_roster.erl @@ -1256,7 +1256,7 @@ user_roster(User, Server, Query, Lang) -> Groups = lists:flatmap( fun(Group) -> - [?C(Group), ?BR] + [?C(binary_to_list(Group)), ?BR] end, R#roster.groups), Pending = ask_to_pending(R#roster.ask), TDJID = build_contact_jid_td(R#roster.jid), diff --git a/src/mod_roster_odbc.erl b/src/mod_roster_odbc.erl index 54d210dcb..72daafbe1 100644 --- a/src/mod_roster_odbc.erl +++ b/src/mod_roster_odbc.erl @@ -1092,7 +1092,7 @@ user_roster(User, Server, Query, Lang) -> Groups = lists:flatmap( fun(Group) -> - [?C(Group), ?BR] + [?C(binary_to_list(Group)), ?BR] end, R#roster.groups), Pending = ask_to_pending(R#roster.ask), TDJID = build_contact_jid_td(R#roster.jid),