inline: fixes duplicate store function block
This commit is contained in:
parent
66cd00791d
commit
aefb4ce673
1 changed files with 0 additions and 8 deletions
|
@ -239,13 +239,5 @@ func GetInlineFormat(
|
|||
}
|
||||
msg := &msgs[0]
|
||||
msg.Delete(bot, nil)
|
||||
err = StoreMedias(
|
||||
dlCtx, msgs,
|
||||
medias,
|
||||
)
|
||||
if err != nil {
|
||||
errChan <- fmt.Errorf("failed to store media: %w", err)
|
||||
return
|
||||
}
|
||||
mediaChan <- medias[0].Media
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue