Media: Fix missing replace button (#6587)
This commit is contained in:
parent
a7c029ad8c
commit
48293f4214
@ -55,7 +55,7 @@ export function hasMessageMedia(message: MediaContainer) {
|
||||
|
||||
export function canEditMedia(message: MediaContainer) {
|
||||
const {
|
||||
video, ...otherMedia
|
||||
photo, video, audio, document, text, webPage, ...otherMedia
|
||||
} = message.content;
|
||||
|
||||
return !video?.isRound && !Object.keys(otherMedia).length;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user