mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-10-27 08:59:55 +00:00
Handle attachments in synced edits
Co-authored-by: AsamK <2340865+AsamK@users.noreply.github.com>
This commit is contained in:
parent
5cd9fb3dfe
commit
f27851bcbb
@ -585,6 +585,21 @@ public final class IncomingMessageHandler {
|
||||
actions.addAll(dataResults.first());
|
||||
longTexts.putAll(dataResults.second());
|
||||
}
|
||||
if (message.getEditMessage().isPresent()) {
|
||||
final var dataResults = handleSignalServiceDataMessage(message.getEditMessage()
|
||||
.get()
|
||||
.getDataMessage(),
|
||||
true,
|
||||
sender,
|
||||
destination == null
|
||||
? null
|
||||
: new DeviceAddress(account.getRecipientResolver().resolveRecipient(destination),
|
||||
destination.getServiceId(),
|
||||
0),
|
||||
receiveConfig);
|
||||
actions.addAll(dataResults.first());
|
||||
longTexts.putAll(dataResults.second());
|
||||
}
|
||||
if (message.getStoryMessage().isPresent()) {
|
||||
actions.addAll(handleSignalServiceStoryMessage(message.getStoryMessage().get(),
|
||||
sender.recipientId(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user