Ignore streaming deletion events
This commit is contained in:
parent
04a56c2ad5
commit
a8d4a08e15
1 changed files with 6 additions and 3 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue