this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't remove status immediately

It'll be too abrupt. Set `_deleted` flag for now, no UI yet.

+4 -1
+3 -1
src/app.jsx
··· 56 56 }); 57 57 stream.on('delete', (statusID) => { 58 58 console.log('DELETE', statusID); 59 - states.statuses.delete(statusID); 59 + // states.statuses.delete(statusID); 60 + const s = states.statuses.get(statusID); 61 + if (s) s._deleted = true; 60 62 }); 61 63 stream.on('notification', (notification) => { 62 64 console.log('NOTIFICATION', notification);
+1
src/components/status.jsx
··· 99 99 reblog, 100 100 uri, 101 101 emojis, 102 + _deleted, 102 103 } = status; 103 104 104 105 const createdAtDate = new Date(createdAt);