Hello, I’m planning on developing a messaging app based on ActivityPub.
I want edit history feature for best dependability but there don’t seem to be working standard for it.
doublequartz: hey guys! I’m implementing ActivityPub. however I have a question… what I should do if I want to edit a message while keeping the old one intact in history?
jaywink[m]: ah right. probably an OrderedCollection on the Note for the revisions, for example? but yeah AP C2S probably doesn’t have anything for you here
If we replace content with an OrderedCollection including every revision, we’re going to have linearly increasing performance cost.
I think creating an OrderedCollection with link to all revisions when an object is updated for the first time would scale best.
Although the peers can store objects before Update all they want, the original sender fails to provide a consistent id for the old version. There should be a way to make reference to old versions that fediverse can understand.
I don’t have much experience on social networking applications and I have no idea what kind of trouble “object versioning” would bring. I appreciate explanation on this.