Instead of the client emitting the event, can't I do this already on the server-side?