Do not download media if in call

This commit is contained in:
Josh Perez 2021-01-29 17:58:28 -05:00 committed by GitHub
parent d22add261b
commit a096220990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 274 additions and 47 deletions

View file

@ -121,6 +121,20 @@ story.add('Pending', () => {
return <Image {...props} />;
});
story.add('Pending w/blurhash', () => {
const props = createProps();
props.attachment.pending = true;
return (
<Image
{...props}
blurHash="LDA,FDBnm+I=p{tkIUI;~UkpELV]"
width={300}
height={400}
/>
);
});
story.add('Curved Corners', () => {
const props = createProps({
curveBottomLeft: true,
@ -176,6 +190,7 @@ story.add('Blurhash', () => {
return <Image {...props} />;
});
story.add('Missing Image', () => {
const defaultProps = createProps();
const props = {