mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-09 13:39:52 +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