This commit is contained in:
Radon Rosborough 2026-02-25 08:29:23 -08:00
commit 4cd70d2902
2 changed files with 6 additions and 5 deletions

View file

@ -287,9 +287,10 @@ func sendUserInputAttachments(ce *Event, atts []*bridgev2.LoginUserInputAttachme
URL: mxc,
File: file,
Info: &event.FileInfo{
Width: att.Info.Width,
Height: att.Info.Height,
Size: att.Info.Size,
MimeType: att.Info.MimeType,
Width: att.Info.Width,
Height: att.Info.Height,
Size: att.Info.Size,
},
Body: filename,
}

View file

@ -766,10 +766,10 @@ components:
type: string
description: The MIME type for the media content.
examples: [ image/png, audio/mpeg ]
width:
w:
type: number
description: The width of the media in pixels. Only applicable for images and videos.
height:
h:
type: number
description: The height of the media in pixels. Only applicable for images and videos.
size: