Skip to content

Commit

Permalink
Update Whatsapp.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Darker935 authored Jun 25, 2024
1 parent 4ad7414 commit 54c55d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/it/auties/whatsapp/api/Whatsapp.java
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,7 @@ private Optional<GroupMetadata> parseGroupResponse(Node response) {
private GroupMetadata addNewGroup(GroupMetadata result) {
var chatBuilder = new ChatBuilder()
.jid(result.jid())
.name(result.subject())
.description(result.description().orElse(null))
.participants(new ArrayList<>(result.participants()))
.founder(result.founder().orElse(null));
Expand Down

0 comments on commit 54c55d8

Please sign in to comment.