IFRCGo / go-api

MIT License
14 stars 6 forks source link

[PROD] Notification subscriptions refactor #2311

Open szabozoltan69 opened 17 hours ago

szabozoltan69 commented 17 hours ago

Issue

Instead of the recent country ∪ region ∪ disaster type ∪ (emergencies/operations/surge alerts)

we should use the subscriptions this way:

(country ∪ region) ∩ disaster type ∩ (emergencies/operations/surge alerts)

So we should only send the country+region/disaster_type filtered notifications (of the subscribed entities).

szabozoltan69 commented 17 hours ago

@tovari @mariam-yu – if this logic should be expressed by some new texts, please say it.

mariam-yu commented 17 hours ago

@szabozoltan69 what does the icon mean?

szabozoltan69 commented 16 hours ago

@mariam-yu you mean ∪ and ∩? Union and Intersection.