https://framagit.org/hubzilla/core/merge_requests/1471In the t
Testing of a new addon that uses the new hooks from an earlier merge revealed a couple of things missed in the first round. This finishes up the hook insertions permitting addons to customize the recipient list of public messages. Also moves the $pgrp_extras ("extra settings" for addons to hook into the privacy groups editor) to the right spot.
RELATED ADDON WORK: I have the first pass at being able to limit the distribution of public posts to a subset of channel contacts based on privacy group settings. The working title of the addon is "Public Audience" to reflect the idea that messages are still public, but have a narrower audience than the full connection list. Next step is to create a selection screen similar to the ACL selection screen - it will only be active and selectable if the message is PUBLIC.
The idea here is to provide a way to respect the sensibilities and timelines of the recipients of posts and only send to those who have an interest in the message content - without needing to hide the message in a private conversation. With the addon under development, items still remain PUBLIC (can be shared as public, can be seen on personal channel timelines, etc.) but using this addon, they will not be broadcast to ALL of our contacts. Rather, they will only be broadcast to the subset of connections that are in the selected privacy groups (or, ultimately, optionally, individually selected).
The one thing that is NOT possible with the way things currently work is that it is not possible to tag a non-included party on the conversation thread and have them "brought in."
I have not investigated fully whether it would be possible to add such functionality. One thought I had is to have an option on a per-connection basis, "Allow tagging 3rd parties" - which if enabled would allow that connection to tag outside 3rd parties on posts that they had permission to view. If it's possible to do
within the existing security model, I may look at implementing that. The question is whether recipients will accept the message or not (i.e., which combination of author/owner post/parent is used to make that determination) - if they will not be accepted, there's no point.
!!
Hubzilla Development