mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-30 04:53:31 +03:00
How did I even code this
This commit is contained in:
parent
6b8ae97d98
commit
c13e148b36
1 changed files with 1 additions and 1 deletions
|
@ -1449,7 +1449,7 @@ function Card({ card, instance }) {
|
|||
|
||||
if (snapStates.unfurledLinks[url]) return null;
|
||||
|
||||
if (hasText && (image || (!type !== 'photo' && blurhash))) {
|
||||
if (hasText && (image || (type === 'photo' && blurhash))) {
|
||||
const domain = new URL(url).hostname.replace(/^www\./, '');
|
||||
let blurhashImage;
|
||||
if (!image) {
|
||||
|
|
Loading…
Add table
Reference in a new issue