mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-14 20:24:17 -05:00
902d9e34b4
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. |
||
---|---|---|
.. | ||
accounts_counters.js | ||
accounts.js | ||
alerts.js | ||
cards.js | ||
compose.js | ||
index.js | ||
media_attachments.js | ||
meta.js | ||
modal.js | ||
notifications.js | ||
relationships.js | ||
reports.js | ||
search.js | ||
settings.js | ||
status_lists.js | ||
statuses.js | ||
timelines.js | ||
user_lists.js |