Skip to content

[stable33] fix(comments): register event listener for typed comment events#60149

Merged
miaulalala merged 1 commit intostable33from
backport/59909/stable33
May 5, 2026
Merged

[stable33] fix(comments): register event listener for typed comment events#60149
miaulalala merged 1 commit intostable33from
backport/59909/stable33

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 4, 2026

Backport of PR #59909

@backportbot backportbot Bot requested a review from a team as a code owner May 4, 2026 19:54
@backportbot backportbot Bot requested review from Altahrim, ArtificialOwl, nfebe and sorbaugh and removed request for a team May 4, 2026 19:54
@backportbot backportbot Bot added this to the Nextcloud 33.0.4 milestone May 4, 2026
Since the typed comment events (CommentAddedEvent, CommentUpdatedEvent,
etc.) were introduced in NC34, dispatchTyped() dispatches using the exact
subclass name. Registering only for CommentsEvent::class means the listener
never fires, so comment mention notifications are never created or cleared.

AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the backport/59909/stable33 branch from d4a3e59 to 3bef50d Compare May 5, 2026 08:21
@miaulalala miaulalala merged commit 2ec13d4 into stable33 May 5, 2026
199 of 210 checks passed
@miaulalala miaulalala deleted the backport/59909/stable33 branch May 5, 2026 15:13
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.

2 participants