Comment out code for deleted status updates

This commit is contained in:
Lim Chee Aun 2022-12-12 16:22:36 +08:00
parent 764a7fcdee
commit 0ecc8b0bd7

View file

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