25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-01 14:44:07 +02:00

make sure publisher is #jid (TECH-1499)

This commit is contained in:
Christophe Romain 2012-11-12 16:08:09 +01:00
parent 1a24ac62e5
commit ec8cb81c0d

View File

@ -2915,7 +2915,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload) ->
true -> true ->
broadcast_publish_item(Host, Node, NodeId, Type, broadcast_publish_item(Host, Node, NodeId, Type,
Options, ItemId, Options, ItemId,
jlib:jid_tolower(Publisher), BrPayload, Publisher, BrPayload,
Removed); Removed);
false -> ok false -> ok
end, end,