# Notification system for messaging

**URL:** <https://community.glideapps.com/t/notification-system-for-messaging/73355>\
**Category:** Ask for Help\
**Created:** [May 14, 2024, 12:57pm UTC](https://community.glideapps.com/t/notification-system-for-messaging/73355 "2024-05-14T12:57:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Connor\_Finlayson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/connor_finlayson/32/79079_2.png) [@Connor\_Finlayson](https://community.glideapps.com/u/Connor_Finlayson)\
**Post date:** [May 14, 2024, 12:57pm UTC](https://community.glideapps.com/t/notification-system-for-messaging/73355/1 "2024-05-14T12:57:24Z")

</div>

Hi,

I was wondering if anyone has any system or rule for sending push notifications in a messaging app. Is it a matter of sending “push notifications” for any message or do people have a different approach?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 15, 2024, 1:28am UTC](https://community.glideapps.com/t/notification-system-for-messaging/73355/2 "2024-05-15T01:28:15Z")

</div>

Say my chat is between person A and person B.

If person A is sending a new message, my approach is only sending notifications to person B only if the previous message from person A is more than X minutes ago. X is usually 15 or 30.

I can calculate the difference in timestamps between those 2 messages to support the logic.
