Skip to content
Snippets Groups Projects
Commit 30cb791e authored by syuilo's avatar syuilo
Browse files

enhance(frontend): フォロー/フォロー解除したときに自動でTLをリロードするのをやめるように

- 不便に感じる場合が多いように思う
- 将来的にTLがpush型になったら無意味になる
parent 1c57983b
No related branches found
No related tags found
No related merge requests found
......@@ -46,12 +46,6 @@ const onUserRemoved = () => {
tlComponent.pagingComponent?.reload();
};
const onChangeFollowing = () => {
if (!tlComponent.pagingComponent?.backed) {
tlComponent.pagingComponent?.reload();
}
};
let endpoint;
let query;
let connection;
......@@ -79,8 +73,6 @@ if (props.src === 'antenna') {
connection.on('note', prepend);
connection2 = stream.useChannel('main');
connection2.on('follow', onChangeFollowing);
connection2.on('unfollow', onChangeFollowing);
} else if (props.src === 'local') {
endpoint = 'notes/local-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