mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Send presence from shared roster contacts to new logged user (EJAB-1412)
This commit is contained in:
parent
cd7beb9492
commit
4fcbd5894e
@ -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
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user