Updated socket emit event for private messages
merge commit