This new logic simplifies the regex for finding message IDs in links, while also ensuring the links match the Mattermost server SiteURL. This should prevent ID lookup when a link from another Mattermost server is used while also improving performance in most cases.
This new logic simplifies the regex for finding message IDs in links, while also ensuring the links match the Mattermost server SiteURL. This should prevent ID lookup when a link from another Mattermost server is used while also improving performance in most cases.