remove hybrid-all-timeline and update

This commit is contained in:
mattyatea 2023-10-18 22:40:40 +09:00
parent c7c70c1c30
commit 80d652746d
8 changed files with 60 additions and 102 deletions

View file

@ -127,18 +127,7 @@ if (props.src === 'antenna') {
withFiles: props.onlyFiles ? true : undefined,
});
connection.on('note', prepend);
} else if (props.src === 'all') {
endpoint = 'notes/hybrid-all-timeline';
query = {
withRenotes: props.withRenotes,
withReplies: props.withReplies,
};
connection = stream.useChannel('hybridAllTimeline', {
withRenotes: props.withRenotes,
withReplies: props.withReplies,
});
connection.on('note', prepend);
} else if (props.src === 'global') {
}else if (props.src === 'global') {
endpoint = 'notes/global-timeline';
query = {
withRenotes: props.withRenotes,