Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gregghoush's avatar

Subscribe notification on signup, remove on subscription?

Starting a new Spark application today. One thing I noticed was that the notification asking people to subscribe is still there as a notification after they actually subscribe.

It feels like that should be replaced with a notification saying thanks for subscribing, once they actually subscribe? or at least removed.

Any thoughts on the best way to go about that?

Initial thought since notifications don't have types is to look for the user_id, icon=fa-clock-o, action_text=Subscribe and delete it. Anything wrong with that?

0 likes
1 reply
Cronix's avatar

That should work. Additionally the notifications created_at should be the same (or at least within a second) as the user created_at.

Please or to participate in this conversation.