Fix issue where deduped media might not be kept in sync.
This commit is contained in:
parent
02e3f511bd
commit
544511905a
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ public class AttachmentDatabase extends Database {
|
|||
contentValues.put(DATA_RANDOM, dataInfo.random);
|
||||
contentValues.put(DATA_HASH, dataInfo.hash);
|
||||
|
||||
int updateCount = updateAttachmentAndMatchingHashes(database, databaseAttachment.getAttachmentId(), dataInfo.hash, contentValues);
|
||||
int updateCount = updateAttachmentAndMatchingHashes(database, databaseAttachment.getAttachmentId(), oldDataInfo.hash, contentValues);
|
||||
Log.i(TAG, "[updateAttachmentData] Updated " + updateCount + " rows.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue