From a115639a993fdab48d5842d96796dfc98e99bc68 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 15 Dec 2022 10:59:20 +0800 Subject: [PATCH] Uncomment this --- src/app.jsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 37b69227..bfc03417 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -54,11 +54,10 @@ async function startStream() { states.statuses.set(status.reblog.id, status.reblog); } }); - // 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('delete', (statusID) => { + console.log('DELETE', statusID); + states.statuses.delete(statusID); + }); stream.on('notification', (notification) => { console.log('NOTIFICATION', notification);