grammyjs/conversations

location not working

PR0F1L3R1 opened this issue · 2 comments

const radarCnv: ConversationFn<Context> = async (conversation, ctx) => {
  await conversation.run(prisma);
  await conversation.run(user);
  await conversation.run(hydrate());
  
  await ctx.reply(ctx.t("radar.geo"));

  const message = await conversation.waitFor("message:location");

  conversation.log(message );
  return;
};

image
200mb -> 2.7gb and more
after send geolocation it start just abusing RAM

Are you sure that this is specifiec to location messages? They are handled no differently.

What happens if you remove the 3 conversation.run lines? Does the problem persist?

Please comment if you are able to reproduce this—I am not. Closing due to inactivity.