RocketChat / RocketChat/Rocket.Chat
attachement in push message is not shown...
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Rocket.Chat Version: 0.52.0
Running Instances: 1
DB Replicaset OpLog:
Node Version: 4.5.0 - x64
problem:
i've setup some incoming webhook integrations for nagios to post to an #alert channel. the alerts are posted to the channel, but the attachement is not shown in desktop notification and push message on iphone.
this will show correct information in push notification on iphone and in desktop notifications, submitted via post to the server with the following vars
data = {"text": message, "channel": channel, "username": bot_name, "icon_emoji": emoji}
in windows app

browser notification

ios notification

the following data will not show up in desktop notifications and push messages. submitted via post with some more vars
attachment = { "fallback": plaintext, "color": colour, "text": message, "mrkdwn_in": ["text"]}
#data = {"text": message, "channel": channel, "username": bot_name, "attachments": [attachment], "icon_emoji": emoji}
in windows app

browser notification

ios notification

it will not show if attachement is set. is there a way to show up the notifications when attachement is set in incoming webhook integrations that are posted to the server?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin at the incoming webhook integration entry point and trace how attachment data is carried into desktop and iPhone push notification payloads. Reproduce the reported difference between a text-only payload and one with attachments, then verify that attachment content appears in both notification types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend, desktop, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100