Handle attachments in synced edits

Co-authored-by: AsamK <2340865+AsamK@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-10-09 14:24:58 +00:00 committed by GitHub
parent 5cd9fb3dfe
commit f27851bcbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(),