mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Use streams to download attachments directly to disk
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
@@ -12,9 +12,9 @@ import { Time } from '../Time';
|
||||
import { useNowThatUpdatesEveryMinute } from '../../hooks/useNowThatUpdatesEveryMinute';
|
||||
|
||||
export type Props = {
|
||||
deletedForEveryone?: boolean;
|
||||
direction?: 'incoming' | 'outgoing';
|
||||
i18n: LocalizerType;
|
||||
isOutlineOnlyBubble?: boolean;
|
||||
isRelativeTime?: boolean;
|
||||
module?: string;
|
||||
timestamp: number;
|
||||
@@ -24,10 +24,10 @@ export type Props = {
|
||||
};
|
||||
|
||||
export function MessageTimestamp({
|
||||
deletedForEveryone,
|
||||
direction,
|
||||
i18n,
|
||||
isRelativeTime,
|
||||
isOutlineOnlyBubble,
|
||||
module,
|
||||
timestamp,
|
||||
withImageNoCaption,
|
||||
@@ -47,7 +47,7 @@ export function MessageTimestamp({
|
||||
: null,
|
||||
withImageNoCaption ? `${moduleName}--with-image-no-caption` : null,
|
||||
withSticker ? `${moduleName}--with-sticker` : null,
|
||||
deletedForEveryone ? `${moduleName}--deleted-for-everyone` : null
|
||||
isOutlineOnlyBubble ? `${moduleName}--ouline-only-bubble` : null
|
||||
)}
|
||||
timestamp={timestamp}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user