This website requires JavaScript.
Explore
Help
Register
Sign In
supernets
/
mastodon
Archived
Watch
4
Fork
You've already forked mastodon
0
Code
Issues
Pull Requests
Activity
This repository has been archived on
2024-07-31
. You can view files and clone it, but cannot push or open issues or pull requests.
5134fc65e2
mastodon
/
spec
/
fabricators
/
conversation_fabricator.rb
5 lines
64 B
Ruby
Raw
Normal View
History
Unescape
Escape
Enable Style/FrozenStringLiteralComment for specs (#23790)
2023-02-21 19:55:31 -05:00
# frozen_string_literal: true
Add conversation model, <ostatus:conversation /> (#3016) * 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
2017-05-12 13:09:21 -04:00
Fabricator
(
:conversation
)
do
end