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),