Merge branch 'master' of https://github.com/morethanwords/tweb
This commit is contained in:
commit
932d173be8
|
@ -447,7 +447,7 @@ export default class ChatContextMenu {
|
|||
} else {
|
||||
const doc: MyDocument = ((this.message as Message.message).media as MessageMedia.messageMediaDocument)?.document as any;
|
||||
if(!doc) return false;
|
||||
isGoodType = doc.type && (['gif', 'video'/* , 'sticker' */] as MyDocument['type'][]).includes(doc.type)
|
||||
isGoodType = doc.type && (['gif', 'video', 'audio'/* , 'sticker' */] as MyDocument['type'][]).includes(doc.type)
|
||||
}
|
||||
|
||||
let hasTarget = !!IS_TOUCH_SUPPORTED;
|
||||
|
|
Loading…
Reference in New Issue