1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Add method to set Reason

This commit is contained in:
vanitasvitae 2017-06-16 22:54:32 +02:00
parent e33bb5a741
commit 5699373cd9
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -198,6 +198,11 @@ public final class Jingle extends IQ {
return this; return this;
} }
public Builder setReason(JingleReason reason) {
this.reason = reason;
return this;
}
public Jingle build() { public Jingle build() {
return new Jingle(sid, action, initiator, responder, reason, contents); return new Jingle(sid, action, initiator, responder, reason, contents);
} }