mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 02:54:19 +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