parent
22cad64089
commit
c0fe156897
1 changed files with 8 additions and 4 deletions
|
@ -812,11 +812,15 @@ public class AttachmentTable extends DatabaseTable {
|
|||
Log.i(TAG, "Inserted attachment at ID: " + attachmentId);
|
||||
}
|
||||
|
||||
try {
|
||||
for (Attachment attachment : quoteAttachment) {
|
||||
AttachmentId attachmentId = insertAttachment(mmsId, attachment, true);
|
||||
insertedAttachments.put(attachment, attachmentId);
|
||||
Log.i(TAG, "Inserted quoted attachment at ID: " + attachmentId);
|
||||
}
|
||||
} catch (MmsException e) {
|
||||
Log.w(TAG, "Failed to insert quote attachment! messageId: " + mmsId);
|
||||
}
|
||||
|
||||
return insertedAttachments;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue