0
0
Fork 0

Persist UI settings, add missing localizations for German

This commit is contained in:
Eugen Rochko 2017-01-09 14:00:55 +01:00
parent 23ebf60b95
commit 75f80bef10
25 changed files with 305 additions and 67 deletions

View file

@ -104,7 +104,7 @@ class Account < ApplicationRecord
end
def subscribed?
subscription_expires_at
!subscription_expires_at.blank?
end
def favourited?(status)
@ -189,7 +189,7 @@ class Account < ApplicationRecord
def requested_map(target_account_ids, account_id)
follow_mapping(FollowRequest.where(target_account_id: target_account_ids, account_id: account_id), :target_account_id)
end
private
def follow_mapping(query, field)