Use shared EmailWebSocketContext for real-time unread badge updates

Fixkamo-internal
出荷済み
2026年3月17日 21:41 UTC
プロフィール
kamo
コンテンツ
04f1763

MailButton was creating a duplicate WebSocket connection via useEmailWebSocket() and optimistically incrementing the unread count. Now uses the shared useEmailWebSocketContext() and re-fetches the actual count from the server on each notification, consistent with how FolderSidebar and MessageBrowser work.

すべての変更

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る