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
Tags 12.89.0
No related merge requests found
...@@ -38,14 +38,6 @@ const prepend = note => { ...@@ -38,14 +38,6 @@ const prepend = note => {
} }
}; };
const onUserAdded = () => {
tlComponent.pagingComponent?.reload();
};
const onUserRemoved = () => {
tlComponent.pagingComponent?.reload();
};
let endpoint; let endpoint;
let query; let query;
let connection; let connection;
...@@ -125,8 +117,6 @@ if (props.src === 'antenna') { ...@@ -125,8 +117,6 @@ if (props.src === 'antenna') {
listId: props.list, listId: props.list,
}); });
connection.on('note', prepend); connection.on('note', prepend);
connection.on('userAdded', onUserAdded);
connection.on('userRemoved', onUserRemoved);
} else if (props.src === 'channel') { } else if (props.src === 'channel') {
endpoint = 'channels/timeline'; endpoint = 'channels/timeline';
query = { 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