From 2201925cae860b260fafdfca0f70a6f92b00464d Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Wed, 13 Dec 2023 14:10:33 -0500 Subject: [PATCH] don't send initial blank message, no longer needed --- src/app/Shared/Services/NotificationChannel.service.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/Shared/Services/NotificationChannel.service.tsx b/src/app/Shared/Services/NotificationChannel.service.tsx index 024c68b990..9ee6cb01b7 100644 --- a/src/app/Shared/Services/NotificationChannel.service.tsx +++ b/src/app/Shared/Services/NotificationChannel.service.tsx @@ -155,9 +155,6 @@ export class NotificationChannel { next: (v) => this._messages.next(v), error: (err: Error) => this.logError('WebSocket error', err), }); - - // message doesn't matter, we just need to send something to the server so that our SubProtocol token can be authenticated - this.ws.next({ message: 'connect' } as NotificationMessage); }, error: (err: Error) => this.logError('Notifications URL configuration', err), });