mirror of
https://github.com/processone/ejabberd.git
synced 2024-08-14 01:38:09 +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}
|
||||
end;
|
||||
true ->
|
||||
CleanPacket = xml:remove_subtags(Packet, "x", {"xmlns", ?NS_P1_PUSHED}),
|
||||
Packet2 =
|
||||
case Packet of
|
||||
case CleanPacket of
|
||||
{xmlelement, "message" = Name, Attrs, Els} ->
|
||||
{xmlelement, Name, Attrs,
|
||||
Els ++
|
||||
|
Loading…
Reference in New Issue
Block a user