Skip to content

Commit

Permalink
withAgent() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Darker935 committed Jun 16, 2024
1 parent 484aaee commit 5e89fc6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/it/auties/whatsapp/model/jid/Jid.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ public Jid withServer(JidServer server) {
return new Jid(user(), server, device, agent);
}

public Jid withAgent(Integer agent) {
return new Jid(user(), server, device, agent);
}

/**
* Converts this jid to a user jid
*
Expand Down

0 comments on commit 5e89fc6

Please sign in to comment.