mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Add method to set Reason
This commit is contained in:
parent
e33bb5a741
commit
5699373cd9
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue