pull/1/head
Lim Chee Aun 2022-12-15 10:59:20 +08:00
rodzic 9f58c305d4
commit a115639a99
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

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