0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 15:50:42 -05:00

made eventId property inside IWsNotificationEvent optional + cleaned up TODO

This commit is contained in:
Chomp 2024-12-14 09:49:34 +00:00
parent 85cdcd16c5
commit 571819906e
2 changed files with 1 additions and 3 deletions

View File

@ -479,8 +479,6 @@ export class DialogueController {
// We need to delay this so that the friend request gets properly added to the clientside list before we accept it
setTimeout(() => {
const notification: IWsFriendsListAccept = {
// TODO: eventId isn't necessary, but the interface requires it, so we can use a dummy value. Interface should be updated
eventId: "0",
type: NotificationEventType.FRIEND_LIST_REQUEST_ACCEPTED,
profile: this.profileHelper.getChatRoomMemberFromPmcProfile(friendProfile.characters.pmc),
};

View File

@ -1,4 +1,4 @@
export interface IWsNotificationEvent {
type: string;
eventId: string;
eventId?: string;
}