Log mailto protocol for #1635

This commit is contained in:
the-djmaze 2024-06-17 14:58:35 +02:00
parent 43f54b30c6
commit 021b332838

View file

@ -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',