mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Send mucsub subscriber notification events with from set to room jid
This commit is contained in:
parent
2819e26c8f
commit
ea32d3f02c
@ -4365,7 +4365,7 @@ send_subscriptions_change_notifications(From, Nick, Type, State) ->
|
||||
items = [#ps_item{
|
||||
id = p1_rand:get_string(),
|
||||
sub_els = [Payload]}]}}]},
|
||||
ejabberd_router:route(xmpp:set_from_to(Packet, From, JID));
|
||||
ejabberd_router:route(xmpp:set_from_to(Packet, State#state.jid, JID));
|
||||
false ->
|
||||
ok
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user