Allow gif links for chat images (closes #41)

This commit is contained in:
Oliver 2026-01-30 17:55:49 -07:00
parent bb670d7795
commit c712d97189

View file

@ -10,6 +10,7 @@ const IMAGE_TYPES = [
`jpeg`,
`webp`,
`svg`,
`gif`,
];
export function chatImageLinks() {
@ -95,6 +96,7 @@ function chatMessageHandler(chatLog, message, options) {
// Prevent cancellation for non-matching messages
const match = message.match(pattern);
console.log({match, message, pattern});
if (!match) { return };
mutateAndResendMessage(chatLog, message, options);