mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-03-02 06:18:50 +00:00
Fix notifications: windows -> window, serialize false setting
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
if (windows.config.polyfillNotifications) {
|
||||
if (window.config.polyfillNotifications) {
|
||||
window.nodeNotifier.notify({
|
||||
title: title,
|
||||
message: message,
|
||||
|
||||
3
main.js
3
main.js
@@ -64,7 +64,6 @@ const loadLocale = require('./app/locale').load;
|
||||
|
||||
let locale;
|
||||
|
||||
|
||||
const WINDOWS_8 = '8.0.0';
|
||||
const osRelease = os.release();
|
||||
const polyfillNotifications =
|
||||
@@ -88,7 +87,7 @@ function prepareURL(pathSegments) {
|
||||
node_version: process.versions.node,
|
||||
hostname: os.hostname(),
|
||||
appInstance: process.env.NODE_APP_INSTANCE,
|
||||
polyfillNotifications: polyfillNotifications,
|
||||
polyfillNotifications: polyfillNotifications ? true : undefined, // for stringify()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user