Preload conversation open data

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Fedor Indutny 2024-08-21 18:48:29 -07:00 committed by GitHub
parent 6ea47d9c6b
commit 7db33a6708
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 332 additions and 89 deletions

View file

@ -2,6 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import React, { useState } from 'react';
import { noop } from 'lodash';
import type {
ConversationType,
ShowConversationType,
@ -45,6 +46,7 @@ export function AnnouncementsOnlyGroupBanner({
onClick={() => {
showConversation({ conversationId: admin.id });
}}
onMouseDown={noop}
theme={theme}
/>
))}