Ignore streaming deletion events

This commit is contained in:
Alex Gleason 2022-06-23 19:58:38 +00:00
parent 04a56c2ad5
commit a8d4a08e15

View file

@ -63,9 +63,12 @@ const connectTimelineStream = (
case 'status.update':
dispatch(updateStatus(JSON.parse(data.payload)));
break;
case 'delete':
dispatch(deleteFromTimelines(data.payload));
break;
// FIXME: We think delete & redraft is causing jumpy timelines.
// Fix that in ScrollableList then re-enable this!
//
// case 'delete':
// dispatch(deleteFromTimelines(data.payload));
// break;
case 'notification':
messages[locale]().then(messages => {
dispatch(updateNotificationsQueue(JSON.parse(data.payload), messages, locale, window.location.pathname));