Merge branch 'develop' into keep-show-preview

This commit is contained in:
anatawa12 2023-07-24 16:01:28 +09:00
commit 966bdab72d
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
3 changed files with 4 additions and 13 deletions

View File

@ -11,15 +11,17 @@
-
-->
## 13.x.x (unreleased)
### General
-
### Client
- リストTLで、ユーザーが追加・削除されてもTLを初期化しないように
- プレビューの表示状態を記憶するように
### Server
-
## 13.14.1

View File

@ -108,8 +108,7 @@ function waitForDecode() {
.then(() => {
loaded = true;
}, error => {
console.error('Error occurred during decoding image', img.value, error);
throw Error(error);
console.log('Error occurred during decoding image', img.value, error);
});
} else {
loaded = false;

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 = {