@julian Thanks for getting back to me quickly. Other priorities pulled me away from this, but after looking at your response, it seems like what I'm actually after are "unread" counts, not just notifications. The simple GET solution returned notifications, but not every "unread". Our app is using the session sharing plugin, and we are associating NodeBB accounts with our app accounts. Would I be able to leverage some of the session sharing functionality to get an unread count for users on our app based on their NodeBB account? Thanks
Unsolved Notifications with HTML
If you want to have HTML in notification body, you should use translations only?
Because, if you provide raw html, like this:
notificationObj.bodyShort = 'Some message <strong>important</strong>';
It will output html tags.
Can you submit an issue on GH for this?
We sanitize HTML on notifs for removing breaking HTML from stuff like post teasers. It really should just sanitize the values of the object passed into the rendering and not the resulting text as a whole.