mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
oops
This commit is contained in:
parent
40bee754d3
commit
4cd70d2902
2 changed files with 6 additions and 5 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue