mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-19 22:08:27 +00:00
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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user