mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 18:25:41 +03:00
Uncomment this
This commit is contained in:
parent
9f58c305d4
commit
a115639a99
1 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue