fix: restore CI lint/build

This commit is contained in:
Peter Steinberger
2026-01-17 07:59:45 +00:00
parent 7630c6dccb
commit 5986175268
2 changed files with 7 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ export function normalizeAttachments(ctx: MsgContext): MediaAttachment[] {
export function resolveAttachmentKind(
attachment: MediaAttachment,
): "image" | "audio" | "video" | "unknown" {
): "image" | "audio" | "video" | "document" | "unknown" {
const kind = kindFromMime(attachment.mime);
if (kind !== "unknown") return kind;