enhance(frontend): リストTLで、ユーザーが追加・削除されてもTLを更新しないように

This commit is contained in:
tamaina 2023-07-24 06:11:30 +00:00
parent 4f4f15a6a4
commit fca6ae9403
1 changed files with 0 additions and 10 deletions

View File

@ -38,14 +38,6 @@ const prepend = note => {
}
};
const onUserAdded = () => {
tlComponent.pagingComponent?.reload();
};
const onUserRemoved = () => {
tlComponent.pagingComponent?.reload();
};
let endpoint;
let query;
let connection;
@ -125,8 +117,6 @@ if (props.src === 'antenna') {
listId: props.list,
});
connection.on('note', prepend);
connection.on('userAdded', onUserAdded);
connection.on('userRemoved', onUserRemoved);
} else if (props.src === 'channel') {
endpoint = 'channels/timeline';
query = {