groups: add webp to list of image types to check links for in chat

This commit is contained in:
Patrick O'Sullivan 2022-06-15 11:21:24 -05:00
parent b77baf4270
commit d11ce99b48

View File

@ -150,7 +150,7 @@ const contentToMdAst =
}
];
} else if ('url' in content) {
const images = ['.jpg', '.jpeg', '.png', '.gif'];
const images = ['.jpg', '.jpeg', '.png', '.gif', '.webp'];
return [
'inline',
{