Closed jordanjay29 closed 4 years ago
Very good question, food for thought.
I'd like to suggest a "leave this discussion" with the following challenges:
I'm wondering whether the Ignore function of the Subs extension already implements this feature to satisfaction.
I might have a solution for this. The recipients table holds information when a recipient was removed (removed_at
). If I would prioritise the state of a removed user of his access from a group state, he should not be able to participate anymore. That's the backend side of the solution, the frontend side is way more complex because the interface supports adding recipients, not blocking them.. A solution for that would be to add another autocomplete recipient search based on whether the recipient autocomplete has any groups.
Thoughts?
On further note, I forgot this was about a voluntary decision by a recipient. In that case it might be easy to solve from the frontend by simply adding the "leave this discussion" button.
In case of blacklisting a user (groups doesn't make too much sense). We could create another column on the table called blacklisted_at, a button on the PD that says "Blacklist recipient" and re-use the recipient modal to select a user to blacklist.
Given the scenario that a user leaves a discussion voluntarily, we set a column value left_at
.
This will remove the discussion for that user without giving any feedback to the other participants of the PD in case the user was part of any of the groups set as recipient.
In addition to allowing someone to leave a private discussion, how are we going to undo that when that user cannot see the private discussion anymore?
@luceos any progress? Last feature which is needed to make this extension perfect ;)
@pflstr you have questions, I understand. But these are unrelated to this issue, feel free to open a new issue. I'll be deleting your reply once you did. I sadly can't do this for you.
@Cu8eeeR as soon as we get to it. I'm sorry I can't give you any indication yet.
Especially a discussion with multiple recipients, how would a participant leave?
Could they retain a copy of the messages thus far?
And could they be added back in?
Is it better to make this simple (move your feet, lose your seat; aka when you leave it's all gone) or complex to preserve ownership of messages?