This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-02-20 22:53:20 +01:00
|
|
|
class Status < ActiveRecord::Base
|
|
|
|
belongs_to :account, inverse_of: :statuses
|
2016-02-22 16:00:20 +01:00
|
|
|
|
|
|
|
after_create do
|
|
|
|
self.account.stream_entries.create!(activity: self)
|
|
|
|
end
|
2016-02-20 22:53:20 +01:00
|
|
|
end
|