mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-23 22:34:13 +00:00
Less complicated determination
This commit is contained in:
parent
6d097d559b
commit
4a7e3e5082
|
@ -104,7 +104,7 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
def subscribed?
|
||||
!subscription_expires_at.nil?
|
||||
subscription_expires_at
|
||||
end
|
||||
|
||||
def favourited?(status)
|
||||
|
|
Loading…
Reference in a new issue