Clean up inviteLink handling, harden compose input

This commit is contained in:
Scott Nonnenberg 2021-05-06 12:06:20 -07:00 committed by GitHub
parent 986d8a66bc
commit fc12d02a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 59 additions and 3 deletions

View file

@ -593,6 +593,12 @@ ipc.on('show-window', () => {
showWindow();
});
ipc.on('set-secure-input', (_sender, enabled) => {
if (app.setSecureKeyboardEntryEnabled) {
app.setSecureKeyboardEntryEnabled(enabled);
}
});
ipc.on('title-bar-double-click', () => {
if (!mainWindow) {
return;