diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/Jingle.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/Jingle.java index 210874ce3..1738901d8 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/Jingle.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/jingle/element/Jingle.java @@ -198,6 +198,11 @@ public final class Jingle extends IQ { return this; } + public Builder setReason(JingleReason reason) { + this.reason = reason; + return this; + } + public Jingle build() { return new Jingle(sid, action, initiator, responder, reason, contents); }