1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-26 06:07:59 +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;
}
public Builder setReason(JingleReason reason) {
this.reason = reason;
return this;
}
public Jingle build() {
return new Jingle(sid, action, initiator, responder, reason, contents);
}