mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix issue with poor sent video viewing behavior.
This commit is contained in:
@@ -697,6 +697,7 @@ public class AttachmentTable extends DatabaseTable {
|
||||
contentValues.put(HEIGHT, sourceAttachment.getHeight());
|
||||
contentValues.put(CONTENT_TYPE, sourceAttachment.getContentType());
|
||||
contentValues.put(VISUAL_HASH, getVisualHashStringOrNull(sourceAttachment));
|
||||
contentValues.put(TRANSFORM_PROPERTIES, sourceAttachment.getTransformProperties().serialize());
|
||||
|
||||
database.update(TABLE_NAME, contentValues, PART_ID_WHERE, destinationId.toStrings());
|
||||
}
|
||||
@@ -1604,7 +1605,7 @@ public class AttachmentTable extends DatabaseTable {
|
||||
return new TransformProperties(true, false, 0, 0, sentMediaQuality);
|
||||
}
|
||||
|
||||
@NonNull String serialize() {
|
||||
public @NonNull String serialize() {
|
||||
return JsonUtil.toJson(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user