Comment out code for deleted status updates

pull/1/head
Lim Chee Aun 2022-12-12 16:22:36 +08:00
rodzic 764a7fcdee
commit 0ecc8b0bd7
1 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

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