message: Allow accessing archived channel when not modifying message.

Fixes #33567.

We have used the flag `is_modifying_message` since it's more generic
than an archived channel specific flag and helps us understand better
what is the condition where we do not want to allow archived channels.
We have not added tests for message edit since it  has an existing test
for this.
This commit is contained in:
Shubham Padia
2025-02-26 07:11:51 +00:00
committed by Tim Abbott
parent c71aeae34d
commit 5cca30d971
11 changed files with 95 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# new level means in api_docs/changelog.md, as well as "**Changes**"
# entries in the endpoint's documentation in `zulip.yaml`.
API_FEATURE_LEVEL = 359 # Last bumped for not adjusting bot subscriptions on owner change.
API_FEATURE_LEVEL = 360 # Last bumped for allowing access to archived channel messages on read.
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump