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':
|
case 'status.update':
|
||||||
dispatch(updateStatus(JSON.parse(data.payload)));
|
dispatch(updateStatus(JSON.parse(data.payload)));
|
||||||
break;
|
break;
|
||||||
case 'delete':
|
// FIXME: We think delete & redraft is causing jumpy timelines.
|
||||||
dispatch(deleteFromTimelines(data.payload));
|
// Fix that in ScrollableList then re-enable this!
|
||||||
break;
|
//
|
||||||
|
// case 'delete':
|
||||||
|
// dispatch(deleteFromTimelines(data.payload));
|
||||||
|
// break;
|
||||||
case 'notification':
|
case 'notification':
|
||||||
messages[locale]().then(messages => {
|
messages[locale]().then(messages => {
|
||||||
dispatch(updateNotificationsQueue(JSON.parse(data.payload), messages, locale, window.location.pathname));
|
dispatch(updateNotificationsQueue(JSON.parse(data.payload), messages, locale, window.location.pathname));
|
||||||
|
|
Loading…
Reference in a new issue