diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-06-02 16:01:32 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-06-02 16:01:32 +0900 |
| commit | 4feff8835cfa80529c14fcbb7a138eeb0a951650 (patch) | |
| tree | 99c9754a1e6a6b0cd340eaabc4bd1bbd5349bf2c /src/client/app/common/scripts | |
| parent | wip (diff) | |
| download | sharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.tar.gz sharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.tar.bz2 sharkey-4feff8835cfa80529c14fcbb7a138eeb0a951650.zip | |
wip
Diffstat (limited to 'src/client/app/common/scripts')
| -rw-r--r-- | src/client/app/common/scripts/streaming/home.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/app/common/scripts/streaming/home.ts b/src/client/app/common/scripts/streaming/home.ts index c5189ddc7a..f07d0289f6 100644 --- a/src/client/app/common/scripts/streaming/home.ts +++ b/src/client/app/common/scripts/streaming/home.ts @@ -20,7 +20,7 @@ export class HomeStream extends Stream { }, 1000 * 60); // 自分の情報が更新されたとき - this.on('i_updated', i => { + this.on('meUpdated', i => { if (os.debug) { console.log('I updated:', i); } @@ -28,12 +28,6 @@ export class HomeStream extends Stream { os.store.dispatch('mergeMe', i); }); - this.on('reciveFollowRequest', () => { - os.store.dispatch('mergeMe', { - pendingReceivedFollowRequestsCount: (os.store.state.i.pendingReceivedFollowRequestsCount || 0) + 1 - }); - }); - this.on('read_all_notifications', () => { os.store.dispatch('mergeMe', { hasUnreadNotification: false |