topics: Server generated permalinks now prefer latest message id.

Previously, when a topic is mentioned, the server generated a
permalink using the earliest accessible message of the topic.

This commit updates it to rather use the latest message of the
topic.
This commit is contained in:
Rohan Gudimetla
2025-07-02 23:19:56 +05:30
committed by Tim Abbott
parent 344c1ef606
commit 8e0ba8cccf
6 changed files with 51 additions and 19 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 = 399
API_FEATURE_LEVEL = 400
# 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