diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2021-02-21 13:38:03 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2021-02-21 13:38:03 +0900 |
| commit | 3fa1d2bfc0aff0c94fd299f79e5e072161697bf3 (patch) | |
| tree | fce705522a141690135b52325c44b7bbe7123156 /src | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | sharkey-3fa1d2bfc0aff0c94fd299f79e5e072161697bf3.tar.gz sharkey-3fa1d2bfc0aff0c94fd299f79e5e072161697bf3.tar.bz2 sharkey-3fa1d2bfc0aff0c94fd299f79e5e072161697bf3.zip | |
fix for lint
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/scripts/paging.ts | 2 | ||||
| -rw-r--r-- | src/server/api/stream/channels/messaging.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/client/scripts/paging.ts b/src/client/scripts/paging.ts index a8f122412c..6e3da94124 100644 --- a/src/client/scripts/paging.ts +++ b/src/client/scripts/paging.ts @@ -192,8 +192,6 @@ export default (opts) => ({ this.items = this.items.slice(-opts.displayLimit); this.more = true; } - } else { - } this.items.push(item); // TODO diff --git a/src/server/api/stream/channels/messaging.ts b/src/server/api/stream/channels/messaging.ts index 7279da3ece..4c41dc820b 100644 --- a/src/server/api/stream/channels/messaging.ts +++ b/src/server/api/stream/channels/messaging.ts @@ -98,7 +98,7 @@ export default class extends Channel { @autobind public dispose() { this.subscriber.off(this.subCh, this.onEvent); - + clearInterval(this.emitTypersIntervalId); } } |