obsidian-telegram-sync icon indicating copy to clipboard operation
obsidian-telegram-sync copied to clipboard

"Reversed Order" and "Heading" parameters ignored when retrieving a message with files attached

Open aVariengien opened this issue 8 months ago • 2 comments

When the bot gets a message with an attached file (I only tested with images) to add to an existing note, it always adds the content at the end of the note. This happens regardless of the "Heading" and "Reversed Order" settings in the rule. Whether the files are linked in the content or not, as long as the message has an attached file, this behavior occurs.

Current fix

  1. Keep the field "File path template" empty.
  2. Edit the code to set the default value of reversedOrder to true instead of false. This is a dirty patch but it was really helpful for me.

aVariengien avatar Jun 29 '24 20:06 aVariengien