fix(notifications): list the wanderer hints for users whose trip switched Tours on

The user's matrix decides that row by the same per-user Tours rule the wanderer watch sends by, so a user who gets the hints can see and switch them.
This commit is contained in:
Maurice
2026-11-23 15:44:24 +01:00
parent 1a6639eb74
commit a0c41bce0a
3 changed files with 22 additions and 2 deletions
@@ -139,7 +139,7 @@ export class NotificationPreferencesService {
case 'synology_session_cleared':
return photoProviders.includes('synologyphotos');
case 'wanderer_source_hint':
return this.addons.isWandererAvailable();
return (await this.addons.isWandererAllowed()) && (await on(ADDON_IDS.TOURS));
case 'flight_departed':
case 'flight_delayed':
case 'flight_landed':