Skip to content

Commit

Permalink
Update Whatsapp.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Darker935 authored Apr 7, 2024
1 parent 33bb07a commit efa2a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/it/auties/whatsapp/api/Whatsapp.java
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ public <T extends MessageInfo> CompletableFuture<T> editMessage(T oldMessage, Me
.status(MessageStatus.PENDING)
.senderJid(jidOrThrowError())
.key(key)
.message(MessageContainer.ofEditedMessage(protocol))
.message(MessageContainer.of(protocol))
.timestampSeconds(Clock.nowSeconds())
.broadcast(oldChatInfo.chatJid().hasServer(JidServer.BROADCAST))
.build();
Expand Down

0 comments on commit efa2a39

Please sign in to comment.