Fix #463 - Fetch and display previews of URLs using OpenGraph tags
This commit is contained in:
parent
8d0284f8d9
commit
f0de621e76
26 changed files with 302 additions and 7 deletions
|
@ -23,6 +23,7 @@ class Status < ApplicationRecord
|
|||
has_and_belongs_to_many :tags
|
||||
|
||||
has_one :notification, as: :activity, dependent: :destroy
|
||||
has_one :preview_card, dependent: :destroy
|
||||
|
||||
validates :account, presence: true
|
||||
validates :uri, uniqueness: true, unless: 'local?'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue