diff options
author | ThibG <thib@sitedethib.com> | 2018-12-09 16:38:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-09 16:38:09 +0100 |
commit | c6b7b984891413cb1db673df2cbea12f8e6f0f05 (patch) | |
tree | 46e3982da219f7a5ac34c3aecaf32f0990578d1d /app/services | |
parent | e3682c9c1750e5e7e5d2f817e29f6760a18400ca (diff) | |
parent | 4f59d1efd786c08cc63e0c14dceada80c37ab8da (diff) |
Merge pull request #849 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
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 |