Merge pull request #9368 from vector-im/travis/autolaunch

Fix autolaunch setting appearing toggled off
pull/9392/head
Travis Ralston 2019-04-03 08:40:01 -06:00 committed by GitHub
commit 50b4906ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
ret = autoUpdater.getFeedURL();
break;
case 'getAutoLaunchEnabled':
ret = launcher.isEnabled;
ret = await launcher.isEnabled();
break;
case 'setAutoLaunchEnabled':
if (args[0]) {