I have a syncing question
I have a local database of messages, I have api call that will fetch me latest messages, with option to use count of messages as paramater, so I only get last n messages = pagination
say I have locally 3 pages worth of messages, and the usual flow is that user only sees the last page (regular chat)
say now on different client somebody edits a message which is in first page of my local data
how should I go about updating it?
I cant go and sync all of my local data, that feels like bad idea....