title: Message does not show on both sockets socket.io
body: <p>I am using socket.io for my app and for private messaging I am using   <code>socket.to(privateId).emit('new message', {msg: data, user: socket.username});</code>It is sending message to private Id on receiving side my message displays but on sender socket message is not displaying. what am I doing wrong? Is there any other method to send message to sender id?</p>