aboutsummaryrefslogtreecommitdiff
path: root/src/mod_shared_roster.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_shared_roster.erl')
-rw-r--r--src/mod_shared_roster.erl7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mod_shared_roster.erl b/src/mod_shared_roster.erl
index 8ef0f41b5..e91f7481a 100644
--- a/src/mod_shared_roster.erl
+++ b/src/mod_shared_roster.erl
@@ -1038,11 +1038,8 @@ split_grouphost(Host, Group) ->
end.
broadcast_subscription(User, Server, ContactJid, Subscription) ->
- ejabberd_sm:route(
- jid:make(<<"">>, Server, <<"">>),
- jid:make(User, Server, <<"">>),
- {broadcast, {item, ContactJid,
- Subscription}}).
+ ejabberd_sm:route(jid:make(User, Server, <<"">>),
+ {item, ContactJid, Subscription}).
displayed_groups_update(Members, DisplayedGroups, Subscription) ->
lists:foreach(fun({U, S}) ->