mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 12:08:34 +00:00
@@ -105,6 +105,11 @@ public final class PushDistributionListSendJob extends PushSendJob {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!message.getStoryType().isTextStory()) {
|
if (!message.getStoryType().isTextStory()) {
|
||||||
|
if (message.getAttachments().isEmpty()) {
|
||||||
|
Log.w(TAG, "No attachments found for message " + messageId + ". Ignoring.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
DatabaseAttachment storyAttachment = (DatabaseAttachment) message.getAttachments().get(0);
|
DatabaseAttachment storyAttachment = (DatabaseAttachment) message.getAttachments().get(0);
|
||||||
SignalDatabase.attachments().updateAttachmentCaption(storyAttachment.attachmentId, message.getBody());
|
SignalDatabase.attachments().updateAttachmentCaption(storyAttachment.attachmentId, message.getBody());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user