mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 15:21:48 +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);
|
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) => {
|
||||||
// stream.on('delete', (statusID) => {
|
console.log('DELETE', statusID);
|
||||||
// console.log('DELETE', statusID);
|
states.statuses.delete(statusID);
|
||||||
// states.statuses.delete(statusID);
|
});
|
||||||
// });
|
|
||||||
stream.on('notification', (notification) => {
|
stream.on('notification', (notification) => {
|
||||||
console.log('NOTIFICATION', notification);
|
console.log('NOTIFICATION', notification);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue