mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Merge pull request #436 from krainboltgreene/patch-2
Less complicated determination of subscription
This commit is contained in:
commit
e8d6f6c8c1
1 changed files with 1 additions and 1 deletions
|
@ -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