diff options
author | unarist <m.unarist@gmail.com> | 2017-05-26 23:34:08 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-26 16:34:08 +0200 |
commit | 902d9e34b4731f2654e2762e97966025b5cd7d62 (patch) | |
tree | af1a05d403840f2874ae30912433d3f0ee65fc2e /app/controllers/settings | |
parent | 2d97c898f281fca9838ed8422e60370428f60ad7 (diff) |
Remove status context construction in the React side (#3331)
because it may causes flicker on the conversation when it contains blocked/muted user's status. We use `/api/v1/statuses/{id}/context` to obtain status ids in the conversation which filters blocked/muted user, but also uses internal cache constructed from `in_reply_to_id` by `normalizeStatus()` in `reducers/timelines.js` on each status loading which doesn't filter. So statuses appears in conversation if those are cached, even those statuses are from blocked/muted user. Then context cache will be updated with the result of the context API and those statuses will be removed. I have left the `normalizeStatus()` function itself which is called many functions in the file as a placeholder for now, but maybe it should be removed completely.
Diffstat (limited to 'app/controllers/settings')
0 files changed, 0 insertions, 0 deletions