diff --git a/client/js/options.js b/client/js/options.js index 606dfb92..88781bee 100644 --- a/client/js/options.js +++ b/client/js/options.js @@ -319,5 +319,5 @@ function initialize() { // Local init is done, let's sync // We always ask for synced settings even if it is disabled. // Settings can be mandatory to sync and it is used to determine sync base state. - socket.emit("settings:get"); + socket.emit("setting:get"); } diff --git a/client/js/socket-events/configuration.js b/client/js/socket-events/configuration.js index 2a6fec17..12125234 100644 --- a/client/js/socket-events/configuration.js +++ b/client/js/socket-events/configuration.js @@ -8,6 +8,8 @@ const webpush = require("../webpush"); socket.on("configuration", function(data) { if (options.initialized) { + // Likely a reconnect, request sync for possibly missed settings. + socket.emit("setting:get"); return; }