# Do not overwrite a sync'd message with one from push notification

**URL:** <https://hub.soprani.ca/t/do-not-overwrite-a-syncd-message-with-one-from-push-notification/797>\
**Category:** Issues\
**Tags:** cheogram-ios\
**Created:** [June 30, 2026, 7:27pm UTC](https://hub.soprani.ca/t/do-not-overwrite-a-syncd-message-with-one-from-push-notification/797 "2026-06-30T19:27:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [June 30, 2026, 7:27pm UTC](https://hub.soprani.ca/t/do-not-overwrite-a-syncd-message-with-one-from-push-notification/797/1 "2026-06-30T19:27:16Z")

</div>

INSERT IGNORE vs INSERT REPLACE ? or something like this. If push notification comes in later and we already stored the “real” full message in the right sort order, the overwrite just makes it worse not better.

---

<div class="post-metadata">

**Author:** ![singpolyma](https://hub.soprani.ca/user_avatar/hub.soprani.ca/singpolyma/32/11_2.png) [@singpolyma](https://hub.soprani.ca/u/singpolyma)\
**Post date:** [August 17, 2026, 6:29pm UTC](https://hub.soprani.ca/t/do-not-overwrite-a-syncd-message-with-one-from-push-notification/797/2 "2026-08-17T18:29:14Z")

</div>

maybe related: [Do not overwrite a sync'd message with one from push notification - Issues - Sopranica](https://soprani.ca/todo/659)
