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