mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-25 15:52:24 +02:00
PEP notification bugfix
SVN Revision: 1085
This commit is contained in:
parent
027adc6c38
commit
583f2fd19f
@ -4,6 +4,8 @@
|
|||||||
ejabberdctl usage example (EJAB-420)
|
ejabberdctl usage example (EJAB-420)
|
||||||
* doc/guide.html: Likewise
|
* doc/guide.html: Likewise
|
||||||
|
|
||||||
|
* src/mod_pubsub/mod_pubsub.erl: PEP notification bugfix
|
||||||
|
|
||||||
2007-12-20 Badlop <badlop@process-one.net>
|
2007-12-20 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
* src/msgs/zh.msg: Small update (thanks to Shelley Shyan)
|
* src/msgs/zh.msg: Small update (thanks to Shelley Shyan)
|
||||||
|
@ -2341,13 +2341,15 @@ broadcast_by_caps({LUser, LServer, LResource}, Node, _Type, Stanza) ->
|
|||||||
_ ->
|
_ ->
|
||||||
ok
|
ok
|
||||||
end,
|
end,
|
||||||
%% also send a notification to any
|
%% also send a notification to any
|
||||||
%% of the account owner's available resources.
|
%% of the account owner's available resources.
|
||||||
%% See: XEP-0163 1.1 section 3
|
%% See: XEP-0163 1.1 section 3
|
||||||
lists:foreach(fun(Resource) ->
|
%% Note: ejabberd_c2s:get_subscribed_and_online already returns owner online resources
|
||||||
To = jlib:make_jid(LUser, LServer, Resource),
|
%% this loop should be deleted
|
||||||
ejabberd_router:route(Sender, To, Stanza)
|
% lists:foreach(fun(Resource) ->
|
||||||
end, SenderResources),
|
% To = jlib:make_jid(LUser, LServer, Resource),
|
||||||
|
% ejabberd_router:route(Sender, To, Stanza)
|
||||||
|
% end, SenderResources),
|
||||||
ok;
|
ok;
|
||||||
_ ->
|
_ ->
|
||||||
ok
|
ok
|
||||||
|
Loading…
Reference in New Issue
Block a user