mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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) ->
|
fun(Group) ->
|
||||||
get_group_users(LServer, Group)
|
get_group_users(LServer, Group)
|
||||||
end, DisplayedGroups)),
|
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)}
|
{lists:usort(SRJIDs ++ F), lists:usort(SRJIDs ++ T)}
|
||||||
catch
|
catch
|
||||||
_ ->
|
_ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user