Distinguish private messages from posts?

you need to add post.topic.archetype as a field that gets sent.

What do you mean? The field is there in the event data for PM replies. It’s just set to “regular” so I can’t distinguish it from a reply to a topic.

Or, do Guardian.new(plugin _user).can_see? post and use the standard visibility checks.

Can you point me to some documentation on what Guardian is and why I need a new one? Also documentation for how to do a visibility check and which ones are standard?