Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

/threads includes thread roots that have no thread attached to it anymore #14241

@justjanne

Description

@justjanne

Description

/threads includes thread roots that have no thread attached to it anymore due to redactions.

Steps to reproduce

  1. create a thread
  2. write replies
  3. 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 messagesO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions