wip
This commit is contained in:
parent
7399ea5892
commit
cd385dad1c
1 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,12 @@ export class HomeStream extends Stream {
|
||||||
os.store.dispatch('mergeMe', i);
|
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', () => {
|
this.on('read_all_notifications', () => {
|
||||||
os.store.dispatch('mergeMe', {
|
os.store.dispatch('mergeMe', {
|
||||||
hasUnreadNotification: false
|
hasUnreadNotification: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue