Add Settings type

This commit is contained in:
Daniel Gasienica 2018-02-26 11:27:32 -05:00
parent 91daedd619
commit 21339c6866
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
const OS = require('../os');
exports.shouldShowAudioNotificationSetting = () =>
!OS.isLinux();

View file

@ -106,6 +106,7 @@
window.Signal.Types.Attachment = require('./js/modules/types/attachment');
window.Signal.Types.Message = require('./js/modules/types/message');
window.Signal.Types.MIME = require('./js/modules/types/mime');
window.Signal.Types.Settings = require('./js/modules/types/settings');
// We pull this in last, because the native module involved appears to be sensitive to
// /tmp mounted as noexec on Linux.