From 178427774fa8688c51ce7ed4581348e4cda3623c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 30 Dec 2019 09:32:59 +0100 Subject: [PATCH] Update FriendNotifications.plugin.js --- Plugins/FriendNotifications/FriendNotifications.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/FriendNotifications/FriendNotifications.plugin.js b/Plugins/FriendNotifications/FriendNotifications.plugin.js index f2f3cd3a9b..ab470c6578 100644 --- a/Plugins/FriendNotifications/FriendNotifications.plugin.js +++ b/Plugins/FriendNotifications/FriendNotifications.plugin.js @@ -510,7 +510,7 @@ class FriendNotifications { let DMid = BDFDB.LibraryModules.ChannelStore.getDMFromUserId(user.id) if (DMid) BDFDB.LibraryModules.SelectChannelUtils.selectPrivateChannel(DMid); else BDFDB.LibraryModules.DirectMessageUtils.openPrivateChannel(BDFDB.UserUtils.me.id, user.id); - BDFDB.LibraryRequires.electron.remote.getCurrentWindow().maximize(); + BDFDB.LibraryRequires.electron.remote.getCurrentWindow().focus(); } }; if (!users[id].desktop) {