mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-20 01:03:17 +00:00
Rework FEP-7888 implementation (#36064)
This commit is contained in:
parent
377e870348
commit
e1dc960219
9 changed files with 61 additions and 25 deletions
|
|
@ -24,6 +24,10 @@ class Conversation < ApplicationRecord
|
|||
|
||||
before_validation :set_parent_account, on: :create
|
||||
|
||||
def to_param
|
||||
"#{parent_account_id}-#{parent_status_id}" unless parent_account_id.nil? || parent_status_id.nil?
|
||||
end
|
||||
|
||||
def local?
|
||||
uri.nil?
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue