obsidian-telegram-sync
obsidian-telegram-sync copied to clipboard
"Reversed Order" and "Heading" parameters ignored when retrieving a message with files attached
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
- Keep the field "File path template" empty.
- Edit the code to set the default value of
reversedOrder
totrue
instead offalse
. This is a dirty patch but it was really helpful for me.