Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

add ability for user to delete a DM thread#2040

Draft
blued-gear wants to merge 7 commits into
mainMbinOrg/mbin:mainfrom
new/deletable_dmMbinOrg/mbin:new/deletable_dmCopy head branch name to clipboard
Draft

add ability for user to delete a DM thread#2040
blued-gear wants to merge 7 commits into
mainMbinOrg/mbin:mainfrom
new/deletable_dmMbinOrg/mbin:new/deletable_dmCopy head branch name to clipboard

Conversation

@blued-gear

@blued-gear blued-gear commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator
  • users can leave chats (removes) them from their messages list and will ignore new messages)
  • single messages can be reported and removed by a mod
  • reports are federated (in theory)

Also, while implementing reports I found inefficiencies in our codebase (too many instanceof checks and code-duplications).
So this PR now also includes a refactor which introduces SwitchingServiceRegistry. This new service can (and should from now on) be used to retrieve an implementation of a requested interface which fits a certain object to handle. Kinda like a centralized instanceof switch.

fixes #1423

@blued-gear blued-gear self-assigned this Mar 8, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 40 days with no activity.

@github-actions github-actions Bot added the Stale Inactivity for too long label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Inactivity for too long

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report (and delete?) option(s) for DMs / user messages

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.