1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:07:35 +00:00

LibIPC: Stop sending client ID to clients

The client ID is not useful to normal clients anymore, so stop telling
everyone what their ID is.
This commit is contained in:
Andreas Kling 2021-02-01 11:26:41 +01:00
parent a5bbe3280d
commit 1ce03f4f34
29 changed files with 27 additions and 42 deletions

View file

@ -1,7 +1,7 @@
endpoint AudioServer = 85
{
// Basic protocol
Greet() => (i32 client_id)
Greet() => ()
// Mixer functions
SetMuted(bool muted) => ()

View file

@ -81,7 +81,7 @@ void ClientConnection::did_change_main_mix_volume(Badge<Mixer>, int volume)
OwnPtr<Messages::AudioServer::GreetResponse> ClientConnection::handle(const Messages::AudioServer::Greet&)
{
return make<Messages::AudioServer::GreetResponse>(client_id());
return make<Messages::AudioServer::GreetResponse>();
}
OwnPtr<Messages::AudioServer::GetMainMixVolumeResponse> ClientConnection::handle(const Messages::AudioServer::GetMainMixVolume&)