Skip to content

Commit

Permalink
Merge pull request #20 from alexey-pd/thx
Browse files Browse the repository at this point in the history
message thx
  • Loading branch information
alexey-pd authored Jul 12, 2024
2 parents 1ef1863 + 9e38ead commit 6c5d6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bot/conversations/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export function sendConversation() {
const fileId = photoMessage.message.photo?.pop()?.file_id;

if (fileId) {
await ctx.reply(`Thanks for the photo!`);
await sendPhoto(ctx, fileId);
}
},
Expand Down
2 changes: 2 additions & 0 deletions src/bot/features/send/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ export async function sendPhoto(ctx: Context, fileId: string, other?: Other<RawA
fileId,
params,
);

await ctx.reply(`Thanks for the photo!`);
}

0 comments on commit 6c5d6fa

Please sign in to comment.