mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Log mailto protocol for #1635
This commit is contained in:
parent
43f54b30c6
commit
021b332838
|
@ -224,7 +224,7 @@ export class AppUser extends AbstractApp {
|
|||
setTimeout(() => mailToHelper(SettingsGet('mailToEmail')), 500);
|
||||
|
||||
if (!localStorage.getItem('register_protocol_offered')) {
|
||||
// When auto-login is active
|
||||
console.log('register mailto protocol');
|
||||
navigator.registerProtocolHandler?.(
|
||||
'mailto',
|
||||
location.protocol + '//' + location.host + location.pathname + '?mailto&to=%s',
|
||||
|
|
Loading…
Reference in a new issue