【m】增加请求理由

This commit is contained in:
2026-05-19 13:22:01 +08:00
parent 52b5faf5a7
commit aebdf72867
3 changed files with 11 additions and 1 deletions

View File

@@ -430,6 +430,7 @@ function onInviteCall(ws: WebSocket, message: any): void {
inviterUserId: message.inviterUserId || (((ws as any).userInfo || {}) as UserInfo).id || '',
inviterName: message.inviterName || (((ws as any).userInfo || {}) as UserInfo).name || '邀请方',
inviterAvatar: message.inviterAvatar || (((ws as any).userInfo || {}) as UserInfo).avatar || '',
applyReason: message.applyReason || message.reason || '',
targetSocketId: targetSocketId || '',
targetUserId: targetUserId || ''
}