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

Disappearing Messages #705

Open
1 of 2 tasks
kundankarna1994 opened this issue Feb 21, 2024 · 0 comments
Open
1 of 2 tasks

Disappearing Messages #705

kundankarna1994 opened this issue Feb 21, 2024 · 0 comments

Comments

@kundankarna1994
Copy link

kundankarna1994 commented Feb 21, 2024

For support questions, please visit our help page.

This repository's issues are reserved for bug reports only.

I'm submitting a ...

  • bug report
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

A user starts a conversation and with the conversation:started event conversation with updated with certain metadata. On certain condition the user's message will disappear.

Disappearing message steps:

  1. User starts a conversation
  2. Users sends a message ( example : Hello)
  3. Conversation Started Event is triggered.
  4. Conversation is updated with metadata.
  5. Repeat Steps 1 to 2 as fast as you can.
  6. Hello message will disappear.

Duplicate message in conversation:

  1. User starts a conversation
  2. Users sends a message ( example : Hello)
  3. Repeat steps 1 and 2 as fast as you can.
  4. Conversation will show two Hello.

Disappearing message demo
Duplicate message demo

What is the expected behavior?
Conversation message not to disappear or show twice randomly and properly sync.

Please tell us about your environment:

  • Delivery method: [npm]
  • Version : 5.5.8
  • Browser: : all
  • OS: macOs 14.2.1

Debug Status
We found out that after we run the following code to update the smooch conversation with certain metadata.

const conversation = await Smooch.updateConversation(id,{data});

Smooch is returning empty messages in the conversation object.

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

No branches or pull requests

1 participant