Hu attended the congress as a specially invited delegate, as is customary for senior retired officials. He was seated onstage next to Xi, in the front row with party leaders.
Whether he was able to take part in discussions isn't known — it's part of the secrecy that surrounds party events. Since stepping down from the presidency in 2013, he has rarely been seen in public, drawing additional attention to his sudden departure at the congress.