Skip to content
Snippets Groups Projects
Commit fca6ae94 authored by tamaina's avatar tamaina
Browse files

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

parent 4f4f15a6
No related branches found
No related tags found
No related merge requests found
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment