Commit Graph

3 Commits (8e25e6c3a8d91bd536a7442bdf93bb1dbf7025a7)

Author SHA1 Message Date
Eugen Rochko b9b0313c78
Revert "Remove conversation URI ()" ()
This reverts commit 75f7f9930e.
Eugen Rochko 75f7f9930e
Remove conversation URI ()
It is not part of ActivityPub and will free up a lot of space
Eugen Rochko 5abdc77c80 Add conversation model, <ostatus:conversation /> ()
* Add <ostatus:conversation /> tag to Atom input/output

Only uses ref attribute (not href) because href would be
the alternate link that's always included also.

Creates new conversation for every non-reply status. Carries
over conversation for every reply. Keeps remote URIs verbatim,
generates local URIs on the fly like the rest of them.

* Fix conversation migration

* More spec coverage for status before_create

* Prevent n+1 query when generating Atom with the new conversations

* Improve code style

* Remove redundant local variable