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

Remove transformation function from webhook rooms when it's removed from the state #383

Merged
merged 2 commits into from
Jun 28, 2022

Conversation

Half-Shot
Copy link
Contributor

Fixes #380

If a transformation function was applied at some point to a webhook room, we never remove it when the state is updated. This was already fixable by restarting the bridge, but we can easily mark the function undefined.

@Half-Shot Half-Shot changed the title Clear transformationFunction when state omits it. Remove transformation function from webhook rooms when it's removed from the state Jun 27, 2022
@Half-Shot Half-Shot requested a review from a team June 27, 2022 14:17
@Half-Shot Half-Shot merged commit f7b652a into main Jun 28, 2022
@Half-Shot Half-Shot deleted the hs/clear-transFn branch June 28, 2022 08:10
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.

Removing the JavaScript transformation function doesn't get applied.
2 participants