Skip to content

Commit

Permalink
don't send initial blank message, no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 13, 2023
1 parent 4a01f32 commit 2201925
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/Shared/Services/NotificationChannel.service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});
Expand Down

0 comments on commit 2201925

Please sign in to comment.