Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing feature flag on messaging listeners #3952

Merged

Conversation

Weiko
Copy link
Member

@Weiko Weiko commented Feb 13, 2024

Context

Messaging listeners add logic to other objects which means, in our case, updating a person or a workspace member was triggering logic within the messaging module which should only be enabled for workspaces having the IS_MESSAGING_ENABLED featureFlag.

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

LGTM, except for a comment :)

@@ -311,6 +311,9 @@ export class WorkspaceQueryRunnerService {
private removeNestedProperties<Record extends IRecord = IRecord>(
record: Record,
) {
if (!record) {
return record;
Copy link
Member

Choose a reason for hiding this comment

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

Wow!

@charlesBochet charlesBochet merged commit 1afe8ae into main Feb 13, 2024
14 of 15 checks passed
@charlesBochet charlesBochet deleted the c--fix-feature-flags-not-used-on-messaging-listeners branch February 13, 2024 19:23
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.

None yet

2 participants