mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
committed by
Moxie Marlinspike
parent
d2e188ee62
commit
156cb4034e
@@ -66,7 +66,7 @@ public abstract class SendJob extends MasterSecretJob {
|
||||
resizedData = resizePart(masterSecret, constraints, part);
|
||||
}
|
||||
|
||||
if (toMemory) {
|
||||
if (toMemory && part.getDataUri() != null) {
|
||||
part.setData(resizedData != null ? resizedData : MediaUtil.getPartData(context, masterSecret, part));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user