RocketChat / RocketChat/Rocket.Chat

[BUG] Notifications not sending using default settings

Open
#9,755 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

For some channels no notifications are send out, which is for a while now. When I force the notification preferences to always send notifications for that specific channel, it works. Also notifications for private messages and (sometimes) livechat sessions does work. Channels using the default settings, don't work.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.61.1
  • Operating System: Ubuntu 16.04 LTS
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: disabled
  • Node Version: v8.9.3
Steps to Reproduce:

Use default configuration for a channel and try to send a notification (e.g. 1 person sends a chat message, the other should receive a notification.)

Expected behavior:

Receive a notification.

Actual behavior:

No notification is send to the device at all (according to the logs).

Relevant logs:

See this issue RocketChat/Rocket.Chat.Android#654 where I've traced it down to be a backend issue.

The following channel does not work:
image

The following channel does work:
image

My preferences:
image

Default user preferences:
image

General Notification settings:
image

And push settings:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Rocket.Chat.Android#654 and its backend finding, then trace how default channel notification preferences are handled versus forced preferences. Reproduce the failure using the stated default configuration and verify that eligible devices receive notifications for default-configured channels.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.