mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-17 07:25:46 +03:00
commands/imagepack: also ignore re-encoding errors
This commit is contained in:
@@ -374,7 +374,8 @@ func (t *TelegramClient) synchronizeEmojiPack(ctx context.Context, ce *commands.
|
||||
}
|
||||
item, saveCache, err := t.synchronizeEmoji(ctx, shortcode, img, isEmojiPack)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("failed to synchronize emoji %s: %w", shortcode, err)
|
||||
ce.Reply("Failed to reupload %s: %v", shortcode, err)
|
||||
continue
|
||||
}
|
||||
rawNewSet, err := t.client.API().StickersAddStickerToSet(ctx, &tg.StickersAddStickerToSetRequest{
|
||||
Stickerset: inputSet,
|
||||
|
||||
Reference in New Issue
Block a user