Skip to content

Fix and rename media delete range#375

Merged
jevolk merged 1 commit into
matrix-construct:mainfrom
exodrifter:delete-media
Mar 25, 2026
Merged

Fix and rename media delete range#375
jevolk merged 1 commit into
matrix-construct:mainfrom
exodrifter:delete-media

Conversation

@exodrifter
Copy link
Copy Markdown
Contributor

Fixes incorrectly treated bounds in the media range deletion command, by disallowing the use of the command without specifying a range as well as flipping the bounds check so that it now deletes the correct range.

Since users use this command and the behavior is opposite of what it used to be, the command and its arguments were both renamed to avoid accidental deletion of media. The documentation was also updated to remove the erroneous suggestion that the file's creation time is considered.

Fixes incorrectly treated bounds in the media range deletion command,
by disallowing the use of the command without specifying a range as
well as flipping the bounds check so that it now deletes the correct
range.

Since users use this command and the behavior is opposite of what it
used to be, the command and its arguments were both renamed to avoid
accidental deletion of media. The documentation was also updated to
remove the erroneous suggestion that the file's creation time is
considered.
@jevolk jevolk merged commit 8497eeb into matrix-construct:main Mar 25, 2026
72 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants