Create text stories
This commit is contained in:
parent
973b2264fe
commit
d970d427f8
53 changed files with 2433 additions and 1106 deletions
|
@ -1806,6 +1806,7 @@ export default class MessageReceiver
|
|||
throw new Error('Text attachments must have text!');
|
||||
}
|
||||
|
||||
// TODO DESKTOP-3714 we should download the story link preview image
|
||||
attachments.push({
|
||||
size: text.length,
|
||||
contentType: APPLICATION_OCTET_STREAM,
|
||||
|
|
2
ts/textsecure/Types.d.ts
vendored
2
ts/textsecure/Types.d.ts
vendored
|
@ -108,7 +108,7 @@ export type ProcessedAttachment = {
|
|||
caption?: string;
|
||||
blurHash?: string;
|
||||
cdnNumber?: number;
|
||||
textAttachment?: TextAttachmentType;
|
||||
textAttachment?: Omit<TextAttachmentType, 'preview'>;
|
||||
};
|
||||
|
||||
export type ProcessedGroupContext = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue