Add profile directory (#9427)

Fix #5578
This commit is contained in:
Eugen Rochko
2018-12-06 17:36:11 +01:00
committed by GitHub
parent 155cf12680
commit 73be8f38c1
31 changed files with 578 additions and 7 deletions

View File

@ -10,6 +10,7 @@ class UpdateAccountService < BaseService
authorize_all_follow_requests(account) if was_locked && !account.locked
check_links(account)
process_hashtags(account)
end
end
@ -24,4 +25,8 @@ class UpdateAccountService < BaseService
def check_links(account)
VerifyAccountLinksWorker.perform_async(account.id)
end
def process_hashtags(account)
account.tags_as_strings = Extractor.extract_hashtags(account.note)
end
end