FEATURE: Publish read state on group messages. (#7989) [Undo revert] (PR #8024)

This PR reintroduces #7989

It also fixes an issue with the read indicator appearing on every topic.

GitHub

You’ve signed the CLA, romanrizzi. Thank you! This pull request is ready for review.