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: livechat interaction handler is receiving its context data wrapped in a second instance of the context class #803

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

pierre-lehnen-rc
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented Sep 17, 2024

What? ⛵

When running a livechat uikit interaction, the AppListenerManager wraps the interactionData in an instance of UIKitLivechatBlockInteractionContext, but when the deno runtime receives a request for livechat interactions, it also wraps the params in an instance of the same class. This was causing apps to receive this interaction data in the wrong format.

Why? 🤔

Links 🌎

SUP-667

PS 👀

I haven't tested it on an actual app.

…ed in a second instance of the context class
@pierre-lehnen-rc pierre-lehnen-rc marked this pull request as ready for review September 17, 2024 17:22
@d-gubert d-gubert merged commit 300f317 into alpha Sep 17, 2024
8 checks passed
@d-gubert d-gubert deleted the fix/livechat-interaction-handler-params branch September 17, 2024 19:44
@d-gubert d-gubert mentioned this pull request Sep 25, 2024
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.

2 participants