mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-12-11 13:45:57 +08:00
Log mailto protocol for #1635
This commit is contained in:
parent
43f54b30c6
commit
021b332838
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue