mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
Autodetect mime type for m->d stickers
This commit is contained in:
parent
c9bc6ac629
commit
7a218f1254
2 changed files with 14 additions and 7 deletions
6
types.d.ts
vendored
6
types.d.ts
vendored
|
@ -139,8 +139,8 @@ export namespace Event {
|
|||
export type M_Sticker = {
|
||||
body: string
|
||||
url: string
|
||||
info: {
|
||||
mimetype: string
|
||||
info?: {
|
||||
mimetype?: string
|
||||
w?: number
|
||||
h?: number
|
||||
size?: number
|
||||
|
@ -217,7 +217,7 @@ export namespace R {
|
|||
}
|
||||
}
|
||||
|
||||
export type Pagination<T> {
|
||||
export type Pagination<T> = {
|
||||
chunk: T[]
|
||||
next_batch?: string
|
||||
prev_match?: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue