diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-15 13:47:08 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-15 14:12:24 -0500 |
commit | 436f7984d9ea60ec0dc222fcbcaa795792942781 (patch) | |
tree | d21f26779ed8fe1a7efee820cce07338db9f317a /app/services | |
parent | 9a2f0131c6cddef3ef0e7faa73070945f0d4f452 (diff) |
move user variables to `users` relation
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/import_service.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/import_service.rb b/app/services/import_service.rb index 9b0a03081..248178e8c 100644 --- a/app/services/import_service.rb +++ b/app/services/import_service.rb @@ -100,8 +100,8 @@ class ImportService < BaseService end def import_json_statuses - @account.vars['_bangtags:disable'] = true - @account.save + @account.user.vars['_bangtags:disable'] = true + @account.user.save @data.each do |json| # skip if invalid status object @@ -172,8 +172,8 @@ class ImportService < BaseService nil end - @account.vars.delete('_bangtags:disable') - @account.save + @account.user.vars.delete('_bangtags:disable') + @account.user.save end def import_activitypub |