diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-14 15:32:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-01-14 15:32:09 +0100 |
commit | 9a39392a7e6b3f180104856a4ea893e5baf86a02 (patch) | |
tree | 11c5f568d6e5a8e67fb925337c83efd57adf9111 /client/src/app/core/core.module.ts | |
parent | f57ad0d22c527328b1412aa1c8c3f0d4819219ca (diff) | |
download | PeerTube-9a39392a7e6b3f180104856a4ea893e5baf86a02.tar.gz PeerTube-9a39392a7e6b3f180104856a4ea893e5baf86a02.tar.zst PeerTube-9a39392a7e6b3f180104856a4ea893e5baf86a02.zip |
Fix notification socket
Should be in core module to share the same subject to all the app
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 7c0d4ac8f..3bc0e2885 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -18,6 +18,7 @@ import { CheatSheetComponent } from './hotkeys' | |||
18 | import { ToastModule } from 'primeng/toast' | 18 | import { ToastModule } from 'primeng/toast' |
19 | import { Notifier } from './notification' | 19 | import { Notifier } from './notification' |
20 | import { MessageService } from 'primeng/api' | 20 | import { MessageService } from 'primeng/api' |
21 | import { UserNotificationSocket } from '@app/core/notification/user-notification-socket.service' | ||
21 | 22 | ||
22 | @NgModule({ | 23 | @NgModule({ |
23 | imports: [ | 24 | imports: [ |
@@ -60,7 +61,8 @@ import { MessageService } from 'primeng/api' | |||
60 | UserRightGuard, | 61 | UserRightGuard, |
61 | RedirectService, | 62 | RedirectService, |
62 | Notifier, | 63 | Notifier, |
63 | MessageService | 64 | MessageService, |
65 | UserNotificationSocket | ||
64 | ] | 66 | ] |
65 | }) | 67 | }) |
66 | export class CoreModule { | 68 | export class CoreModule { |