Uncomment this

This commit is contained in:
Lim Chee Aun 2022-12-15 10:59:20 +08:00
parent 9f58c305d4
commit a115639a99

View file

@ -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);