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

purge_history api does not delete mediaΒ #12046

@SPiRiT369

Description

@SPiRiT369

I want to delete old room messages. (unencrypted room)

I use purge_history call (/_synapse/admin/v1/purge_history/<room_id>) and it does the work. However, if the deleted events contain uploaded media - they are removed from the room but not from the disk.

Please fix it so purge_history will also delete files from disk.

A workaround for this issue could be to use the delete media api, but it works on all rooms, and I want to clean history on specific rooms only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions