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:
parent
2da49456c6
commit
99b2bc304e
48 changed files with 2297 additions and 356 deletions
|
@ -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}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue