This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Merge pull request
#436
from krainboltgreene/patch-2
Less complicated determination of subscription
closed-social-v3
Eugen
7 years ago
committed by
GitHub
parent
db8a088502
4a7e3e5082
commit
e8d6f6c8c1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/models/account.rb
+ 1
- 1
app/models/account.rb
View File
@ -104,7 +104,7 @@ class Account < ApplicationRecord
end
def
subscribed?
!
subscription_expires_at
.
nil?
subscription_expires_at
end
def
favourited?
(
status
)
Write
Preview
Loading…
Cancel
Save