From 2e94968a9aae4c1a5b4fa89ffd7adec256fb2fd3 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:27:16 +0100 Subject: [PATCH] perf: opening a channel no longer loads its pinned messages in the background (#35293) Every time a channel opened, its pinned messages were fetched even though the Pinned Messages dialog was closed, and that result was thrown away when the dialog loaded them again on open. They now load only when the dialog opens. Requests for pinned messages, counted in the browser over the same clicks:
| Step | Before | After |
|---|---|---|
| Open a channel | 1 | 0 |
| Switch to another channel | 1 | 0 |
| Open the Pinned Messages dialog | 2 | 2 |