Core/Chat: Explicitly ignore disabling chat feature

Closes #29425
This commit is contained in:
Shauren
2023-11-10 19:55:35 +01:00
parent 97f9e18cbd
commit 42c44bd787
5 changed files with 50 additions and 2 deletions

View File

@@ -780,3 +780,14 @@ void WorldSession::HandleChatCanLocalWhisperTargetRequest(WorldPackets::Chat::Ca
canLocalWhisperTargetResponse.Status = status;
SendPacket(canLocalWhisperTargetResponse.Write());
}
void WorldSession::HandleChatUpdateAADCStatus(WorldPackets::Chat::UpdateAADCStatus const& /*updateAADCStatus*/)
{
// disabling chat not supported
// send Sueccess and force chat disabled to false instead of sending that change failed
// this makes client change the cvar back to false instead of just printing error message in console
WorldPackets::Chat::UpdateAADCStatusResponse response;
response.Success = true;
response.ChatDisabled = false;
SendPacket(response.Write());
}