Skip to content

fix: enable notifications for comments#7639

Open
grnd-alt wants to merge 1 commit intomainfrom
fix/comment-notifications
Open

fix: enable notifications for comments#7639
grnd-alt wants to merge 1 commit intomainfrom
fix/comment-notifications

Conversation

@grnd-alt
Copy link
Member

new comments are emmitted with CommentAddedEvent but we only listened to CommentEvent so no notifications where triggered

Signed-off-by: grnd-alt <git@belakkaf.net>
// Get rid of this once the frontend fetches comments/activity individually
if ($eventType === 'deck_comment') {
$event->setAuthor(self::DECK_NOAUTHOR_COMMENT_SYSTEM_ENFORCED);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

this resolves the issue of sending notifications about the user's own comments, but I am not sure whether this has undesired side effects.

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.

1 participant