From 961640bd2c1ad659371ddd7593742a90e589789a Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 8 Feb 2010 21:14:40 +0100 Subject: [PATCH] Fix to get shared roster displayed when user logins --- src/mod_shared_roster.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl index c324e27d8..08db4484b 100644 --- a/src/mod_shared_roster.erl +++ b/src/mod_shared_roster.erl @@ -120,6 +120,8 @@ stop(Host) -> %% ?MODULE, remove_user, 50), +get_user_roster(Items, {U, S}) when is_binary(U) -> + get_user_roster(Items, {binary_to_list(U), binary_to_list(S)}); get_user_roster(Items, US) -> {U, S} = US, DisplayedGroups = get_user_displayed_groups(US),