mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 21:33:19 +00:00
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:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user