This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/threads includes thread roots that have no thread attached to it anymore #14241
Copy link
Copy link
Closed
Labels
A-ThreadsThreaded messagesThreaded messagesO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
Description
/threads includes thread roots that have no thread attached to it anymore due to redactions.
Steps to reproduce
- create a thread
- write replies
- redact all replies
Expected Behavior
The /threads endpoint stops including this thread in its response once all responses have been redacted
Actual Behavior
The /threads endpoint still includes the now empty threads
Additional Information
The homeserver correctly removed the bundled relationship from the threads, yet it still includes the roots in the /threads response.
This issue is likely related to the MSC3856 implementation
Metadata
Metadata
Assignees
Labels
A-ThreadsThreaded messagesThreaded messagesO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.Blocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.Bugs, crashes, hangs, security vulnerabilities, or other reported issues.