]> cat aescling's git repositories - mastodon.git/commit
Fix moved account handling in IndexedDB feature (#6915)
authorunarist <m.unarist@gmail.com>
Mon, 26 Mar 2018 10:48:01 +0000 (19:48 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 26 Mar 2018 10:48:01 +0000 (12:48 +0200)
commit605a92b4607589c64acf9c5cb58d2fcc68e2606a
tree88ab7dfadd9c8da517da52b32eb73a8ad1c7d4fb
parent3b2c7a33a9fe151b65724f9076a4ef93ad1d6948
Fix moved account handling in IndexedDB feature (#6915)

* Fix stack overflow on importFetchedAccounts

  When the account has moved property, it should process destination
  account instead of source account itself.

* Set account id instead of account object for moved property

  This restores "foo has moved to" indication on account view, and
  fixes `reblog` index on `accounts` object store.
app/javascript/mastodon/actions/importer/index.js
app/javascript/mastodon/actions/importer/normalizer.js