mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Fixed send message failing
This commit is contained in:
parent
02082ef6f6
commit
828dcf83ab
@ -26,7 +26,7 @@ export class NotificationSendHelper {
|
||||
*/
|
||||
public sendMessage(sessionID: string, notificationMessage: IWsNotificationEvent): void {
|
||||
if (this.sptWebSocketConnection.isConnectionWebSocket(sessionID)) {
|
||||
this.sptWebSocketConnection.sendMessage(sessionID, notificationMessage);
|
||||
this.sptWebSocketConnection.sendMessageAsync(sessionID, notificationMessage);
|
||||
} else {
|
||||
this.notificationService.add(sessionID, notificationMessage);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user