Skip to content

Send notifications to participants of a Beatmap Discussion on replies#13008

Open
notbakaneko wants to merge 5 commits into
ppy:masterfrom
notbakaneko:feature/discussion-reply-notify-participants
Open

Send notifications to participants of a Beatmap Discussion on replies#13008
notbakaneko wants to merge 5 commits into
ppy:masterfrom
notbakaneko:feature/discussion-reply-notify-participants

Conversation

@notbakaneko

Copy link
Copy Markdown
Collaborator

Sends notifications to all participants of problem or suggestion type Beatmap Discussions, not just the starter.
This is based on the reason the reasoning that if you are replying to a discussion, you are probably involved in it (and doesn't involve adding a watch toggle to every discussion).

Also made some of the tests more strict and give more information when the expected receiver ids don't match (because the Event and Queue assertions don't tell you much which makes find it out annoying...)

closes #12885

Comment on lines +53 to +55
if ($discussion->user_id !== null) {
$userIds->push($discussion->user_id);
}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might not be necessary since discussions should normally have a post, but the tests currently don't always have the starting post...

@notbakaneko notbakaneko force-pushed the feature/discussion-reply-notify-participants branch from 14bc206 to 20e8d98 Compare May 27, 2026 15:55
@nanaya

nanaya commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

I wonder if the #13017 should be done first (splitting manual and automatic watch options)

@notbakaneko

Copy link
Copy Markdown
Collaborator Author

Maybe.... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Receive notifications for replies to modding discussions

2 participants