mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Fix handling edit message
This commit is contained in:
parent
6b2de3a24d
commit
310aadbdc0
3 changed files with 26 additions and 2 deletions
|
@ -344,8 +344,10 @@ public final class IncomingMessageHandler {
|
|||
}
|
||||
}
|
||||
|
||||
if (content.getDataMessage().isPresent()) {
|
||||
var message = content.getDataMessage().get();
|
||||
if (content.getDataMessage().isPresent() || content.getEditMessage().isPresent()) {
|
||||
var message = content.getDataMessage().isPresent()
|
||||
? content.getDataMessage().get()
|
||||
: content.getEditMessage().get().getDataMessage();
|
||||
|
||||
if (content.isNeedsReceipt()) {
|
||||
actions.add(new SendReceiptAction(sender,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue