Skip to content

feat(rocketchat): support plain text attribute #4393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Patrick-Remy
Copy link

RocketChat doesn't set the attachment title as notification title. Instead with the current implementation of this notifier, you receive notifications like "bot: ". This is really unuseful.

The PostMessage.Text attribute was already typed and can be additionally set to set a "plain text".
I also fixed the previously 404 rocketchat developer documentation which has moved in the meantime and removed the unused (and undocumented) propertyParseUrls.

Add plainText attribute to set plain text message additionally to attachment.

Signed-off-by: Patrick Remy <patrick-remy@users.noreply.github.com>
@Patrick-Remy Patrick-Remy force-pushed the feat/rocketchat-support-plaintext branch from 845c44c to a31aeb5 Compare May 6, 2025 16:17
@Patrick-Remy
Copy link
Author

Maybe @TheMeier as the original contributor for the rocketchat integration can review my contribution.
Unfortunately I have no idea why tests are failing, but as disclaimer I am not a Go developer ;)

@TheMeier
Copy link
Contributor

TheMeier commented May 12, 2025

I just tested it and then remembered, if you send a Text field (even if empty) The attachments will be collapsed and truncated. I cant even un-collaps them:

image

on-top Text from the API call is not even displayed anywhere for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants