aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2011-07-28 16:02:36 +0200
committerBadlop <badlop@process-one.net>2011-07-28 16:05:15 +0200
commit4fcbd5894eb4bce99fb7ec767182bccd89ac9123 (patch)
tree3ae7ea8ef34da26d81c17c693316bda113e7b85e /src
parentExternal auth should call storage auth only when cache is enabled (diff)
Send presence from shared roster contacts to new logged user (EJAB-1412)
Diffstat (limited to 'src')
-rw-r--r--src/mod_shared_roster.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl
index bc9c2fd88..651d54d67 100644
--- a/src/mod_shared_roster.erl
+++ b/src/mod_shared_roster.erl
@@ -333,7 +333,7 @@ get_subscription_lists({F, T}, User, Server)
fun(Group) ->
get_group_users(LServer, Group)
end, DisplayedGroups)),
- SRJIDs = [{U1, S1, undefined} || {U1, S1} <- SRUsers],
+ SRJIDs = [{list_to_binary(U1), list_to_binary(S1), undefined} || {U1, S1} <- SRUsers],
{lists:usort(SRJIDs ++ F), lists:usort(SRJIDs ++ T)}
catch
_ ->