mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Expose Attachment type through Whisper.Attachment
This commit is contained in:
@@ -74,6 +74,9 @@
|
||||
const {autoOrientImage} = require('./js/modules/auto_orient_image');
|
||||
window.autoOrientImage = autoOrientImage;
|
||||
|
||||
window.Whisper = window.Whisper || {};
|
||||
window.Whisper.Attachment = require('./js/modules/types/attachment');
|
||||
|
||||
// We pull this in last, because the native module involved appears to be sensitive to
|
||||
// /tmp mounted as noexec on Linux.
|
||||
require('./js/spell_check');
|
||||
|
||||
Reference in New Issue
Block a user