mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-17 15:29:23 +02:00
clean p1:pushed tag (thanks to Mickael Remond)
This commit is contained in:
parent
8fe6ed011d
commit
ea8aa1f25b
@ -2741,8 +2741,9 @@ enqueue(StateData, From, To, Packet) ->
|
|||||||
StateData#state{pres_queue = NewQueue}
|
StateData#state{pres_queue = NewQueue}
|
||||||
end;
|
end;
|
||||||
true ->
|
true ->
|
||||||
|
CleanPacket = xml:remove_subtags(Packet, "x", {"xmlns", ?NS_P1_PUSHED}),
|
||||||
Packet2 =
|
Packet2 =
|
||||||
case Packet of
|
case CleanPacket of
|
||||||
{xmlelement, "message" = Name, Attrs, Els} ->
|
{xmlelement, "message" = Name, Attrs, Els} ->
|
||||||
{xmlelement, Name, Attrs,
|
{xmlelement, Name, Attrs,
|
||||||
Els ++
|
Els ++
|
||||||
|
Loading…
Reference in New Issue
Block a user