Introduce smaller incoming size limit for text attachments
This commit is contained in:
parent
8c71ed2590
commit
5e733059b9
7 changed files with 85 additions and 31 deletions
|
@ -118,6 +118,17 @@ export function TextPending(): JSX.Element {
|
|||
return <MessageBody {...props} />;
|
||||
}
|
||||
|
||||
export function MessageTooLong(): JSX.Element {
|
||||
const props = createProps({
|
||||
text: 'Check out https://www.signal.org',
|
||||
textAttachment: {
|
||||
wasTooBig: true,
|
||||
},
|
||||
});
|
||||
|
||||
return <MessageBody {...props} />;
|
||||
}
|
||||
|
||||
export function Mention(): JSX.Element {
|
||||
const props = createProps({
|
||||
bodyRanges: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue