I have a dev question, my users didn't like private messages appearing in the main discussions list, so I hid them from there, but now it is not obvious when a user has unread PMs, the UI doesn't hint it very well.
I want to write a small extension that appends the unread discussion count to the menu, or in the mobile layout just includes a notification at the top of the discussions list that says "you have X unread messages, go to inbox".
I am not much of an extension dev but I am a very experienced programmer, I was just wondering what the preferred way to query the unread private message count is, I was hoping byobu would add it to the user object attributes similar to the app.session.user.data.attributes.newNotificationCount attribute but as far as I have been able to find, the unread count is not exposed anywhere already.