diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-06 17:36:11 +0100 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2018-12-06 15:59:26 -0800 |
commit | ee5213093a084c2eb5fa97fb4bdea6019dda5cf5 (patch) | |
tree | fedcca21d531082c671750f2d86c43e2895f91ef /app/services | |
parent | a78e3f2206ddaeeb3e6f1c23e4b524af29e92b04 (diff) |
Add profile directory (#9427)
Fix #5578
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/update_account_service.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/update_account_service.rb b/app/services/update_account_service.rb index ec69d944a..36665177d 100644 --- a/app/services/update_account_service.rb +++ b/app/services/update_account_service.rb @@ -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 |