From 0ecc8b0bd7603ea2d1bc22e08cf2e4e65a0226f6 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 12 Dec 2022 16:22:36 +0800 Subject: [PATCH] Comment out code for deleted status updates --- src/app.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 61fee694..c3688cad 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -53,10 +53,11 @@ async function startStream() { states.statuses.set(status.reblog.id, status.reblog); } }); - stream.on('delete', (statusID) => { - console.log('DELETE', statusID); - states.statuses.delete(statusID); - }); + // Uncomment this once this bug is fixed: https://github.com/neet/masto.js/issues/750 + // stream.on('delete', (statusID) => { + // console.log('DELETE', statusID); + // states.statuses.delete(statusID); + // }); stream.on('notification', (notification) => { console.log('NOTIFICATION', notification);