1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-02 08:05:58 +09:00
This commit is contained in:
syuilo 2018-06-02 13:40:28 +09:00
parent a6a4bb6599
commit 9e8cfd76c8

View File

@ -28,6 +28,12 @@ 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