mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-12 10:39:38 +02:00
Update XMPPError to RFC6120
Fixes SMACK-445
This commit is contained in:
parent
67722aea93
commit
d5195c4004
4 changed files with 77 additions and 138 deletions
|
@ -1085,7 +1085,7 @@ public class JingleSession extends JingleNegotiator implements MediaReceivedList
|
|||
|
||||
List<PacketExtension> extList = new ArrayList<PacketExtension>();
|
||||
extList.add(jingleError);
|
||||
XMPPError error = new XMPPError(0, XMPPError.Type.CANCEL, jingleError.toString(), "", extList);
|
||||
XMPPError error = new XMPPError(XMPPError.Type.CANCEL, jingleError.toString(), "", extList);
|
||||
|
||||
// Fill in the fields with the info from the Jingle packet
|
||||
errorPacket.setPacketID(iq.getPacketID());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue