Add group id to socket message