From 7456e21a946212ea4aee630a52ccc42e9ecfce57 Mon Sep 17 00:00:00 2001 From: taiebot Date: Sat, 18 Jul 2026 16:01:06 +0200 Subject: [PATCH] fix(search): use deep link I'm currently working through the GitHub web interface, which doesn't allow amending existing commit messages. Also address the nitpick AI-assisted: Claude (Sonnet 4.7) Signed-off-by: taiebot --- lib/Search/Provider.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Search/Provider.php b/lib/Search/Provider.php index 1db28c7475..92a5cfc62e 100644 --- a/lib/Search/Provider.php +++ b/lib/Search/Provider.php @@ -116,10 +116,9 @@ protected function searchByFilter(IUser $user, ISearchQuery $query, string $filt ]), $message->getSubject(), $subline, - $this->urlGenerator->linkToRouteAbsolute('mail.page.thread', [ - 'mailboxId' => $message->getMailboxId(), - 'id' => $message->getId(), - ]), // TODO: deep URL + $this->urlGenerator->linkToRouteAbsolute('mail.deep_link.open', [ + 'messageId' => $message->getMessageId(), + ]), 'icon-mail', !is_null($from) );