forked from treehouse/mastodon
Merge pull request #436 from krainboltgreene/patch-2
Less complicated determination of subscriptionrebase/4.0.0rc2
commit
e8d6f6c8c1
|
@ -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 New Issue