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:
parent
85cdcd16c5
commit
571819906e
@ -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),
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface IWsNotificationEvent {
|
||||
type: string;
|
||||
eventId: string;
|
||||
eventId?: string;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user