1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00

Merge pull request #436 from krainboltgreene/patch-2

Less complicated determination of subscription
This commit is contained in:
Eugen 2017-01-08 04:00:22 +01:00 committed by GitHub
commit e8d6f6c8c1

View File

@ -104,7 +104,7 @@ class Account < ApplicationRecord
end
def subscribed?
!subscription_expires_at.nil?
subscription_expires_at
end
def favourited?(status)