You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
Drop dead sendWhisperGroupMessage — composer never existed
IRoomSession.sendWhisperGroupMessage(userId) was declared in the interface and implemented in RoomSession by sending 'new ChatWhisperGroupComposer(userId)' — but no such composer class exists in the renderer (the file was never created). The only whisper composer is RoomUnitChatWhisperComposer, which takes (recipientName, message, styleId), not a userId. No client call site references sendWhisperGroupMessage (grep across Nitro-V3/src returned zero hits). Removing the dead interface method + broken impl is safer than inventing a ChatWhisperGroupComposer class with no server-side handler.
This commit is contained in:
@@ -21,7 +21,6 @@ export interface IRoomSession
|
||||
sendPostureMessage(posture: number): void;
|
||||
sendDoorbellApprovalMessage(userName: string, flag: boolean): void;
|
||||
sendAmbassadorAlertMessage(userId: number): void;
|
||||
sendWhisperGroupMessage(userId: number): void;
|
||||
sendKickMessage(userId: number): void;
|
||||
sendMuteMessage(userId: number, minutes: number): void;
|
||||
sendBanMessage(userId: number, type: string): void;
|
||||
|
||||
@@ -139,11 +139,6 @@ export class RoomSession implements IRoomSession
|
||||
GetCommunication().connection.send(new RoomAmbassadorAlertComposer(userId));
|
||||
}
|
||||
|
||||
public sendWhisperGroupMessage(userId: number): void
|
||||
{
|
||||
GetCommunication().connection.send(new ChatWhisperGroupComposer(userId));
|
||||
}
|
||||
|
||||
public sendKickMessage(userId: number): void
|
||||
{
|
||||
GetCommunication().connection.send(new RoomKickUserComposer(userId));
|
||||
|
||||
Reference in New Issue
Block a user