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

Feature Request: Support “Exclude Tag” (NOT) in Message Filter

Open Vitowong00 opened this issue 4 months ago • 0 comments

Currently, the message filter in obsidian-telegram-sync supports “include” conditions, such as syncing messages that contain certain tags. However, in real use cases, we often need to exclude messages with specific tags (e.g., #fun) and only sync other content. It would be great to add a “NOT” or “exclude” syntax, such as: ‎!{{content~#fun}} or ‎{{content!~#fun}} This would make content management much more flexible.

In my real-world scenario, I want to sync most Telegram messages to Obsidian—there are only a few messages (such as those with the #fun tag) that I do NOT want to sync. The current filter only allows “include” rules, but cannot exclude specific tags. If the filter could support “exclude tag” (NOT) logic, I could easily filter out only the unwanted content while syncing everything else, which would be much more convenient.

Thanks to the developer!

Vitowong00 avatar Aug 29 '25 14:08 Vitowong00