Skip to content

telegram_text doesn't work for zed events #2

@Michal-Szczepaniak

Description

@Michal-Szczepaniak

I decided to use telegram_text as opposed to telegram_image because it's not compatible with my system and i've got an issue. When you have pool with drives added via UID, and UID has _ in them, telegram treats it as a markdown and due to not matching number of these telegram returns error. Fix is to replace all _ characters with \_ in sed. I added simple
MESSAGE=$(cat - | sed '1s/\(.*\)/*\1*/' | sed 's/_/\\_/g')
and now everything works just fine. Could you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions