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:
parent
1a24ac62e5
commit
ec8cb81c0d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user