mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Move attachment processing closer to sending
This helps ensure processing happens uniformly, regardless of which code paths are taken to send an attachment.
This commit is contained in:
@@ -216,8 +216,7 @@
|
||||
|
||||
return this.autoScale(file)
|
||||
.then(this.readFile)
|
||||
.then(setFlags(attachmentFlags))
|
||||
.then(Attachment.process);
|
||||
.then(setFlags(attachmentFlags));
|
||||
},
|
||||
/* jshint ignore:end */
|
||||
/* eslint-disable */
|
||||
|
||||
Reference in New Issue
Block a user