status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
287 stars 78 forks source link

When a user blocks another user, the blocked user should also be kicked from all ad-hoc group chats the blocking user owns, and banned from all Communities the blocking user owns #8975

Closed benjthayer closed 6 months ago

benjthayer commented 1 year ago

Background Design have done a body of work to make the flows and implications around Blocking a user more comprehensive. Through this body of work it was confirmed with @John-44 that when a user blocks another user, the blocked user should also be kicked from all ad-hoc group chats owned by the blocking user and banned from all Communities owned by the blocking user.

This should be clarified to the blocking user at the point at which they select to block a user via the following confirm block dialog which contains a checkbox which is selected and disabled stating:

Ban [Display name] from all current and future Group Chats and Communities that I own

Confirm block dialog

Figma: https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=1503%3A14889&t=33ycAeE4YzwiKHlD-1

iurimatias commented 1 year ago

@benjthayer are you sure about this? in particualr groups chats aren't supose to have a single admin like before. It also doesn't make sense to me that blocking a user wou ld kick them from communities the user owns, that might not be their goal they might simply not want to chat with that person anymore cc: @John-44

John-44 commented 1 year ago

@iurimatias let's discuss when I'm back next week. The challenge we are facing is that when UserA blocks UserB, UserB becomes totally invisible in all contexts to UserA. This is a problem if (for example) UserA is also the owner of a community the UserB is a member of, because once UserA has blocked UserB, UserA will no longer be able moderate UserB's messages in the community, or even see UserB in their community. Similar issue with ad-hoc group chats. Anyhow, let's talk through this next week.

iurimatias commented 6 months ago

closed as duplicate of https://github.com/status-im/status-desktop/issues/8805