Update FriendNotifications.plugin.js

This commit is contained in:
Mirco Wittrien 2019-12-30 09:32:59 +01:00
parent 639e1991d4
commit 178427774f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {