
Webchat CDN v4.6/latest
Edge v44.18362.387.0
IE v11.418.18362.0
Firefox v70.0
Chrome v78.0.3904.87
The message reported timing is not showing correctly.
Steps to reproduce the behavior:
The earlier entered messages should have grater reporting time.
[Bug]
@arman-g Thanks for reporting. We will take a look at this bug shortly.
@arman-g This is scheduled for our next release. Updates will be posted here!
@arman-g, sorry for the delay in getting back to you on this. Unfortunately I haven't been able to reproduce this problem on Mock Bot.

Is your bot hosted somewhere that I can test for reproduction purposes? Or would you be able to provide me temporary access to the bot? Please feel free to email me at [email protected] to coordinate.
Since I haven't been able to reproduce yet, I have a few follow up questions.
@arman-g scratch my notes above; I was able to reproduce this problem!

I still haven't found the cause, but I am investigating. For now, all I know is that the absolute time is still accurate (based off of the aria-label), but the relative time component may be causing the issue.
Note to @compulim, the relative timestamp for user will update when user begins typing in the SendBox.
@corinagum, I see you were able to reproduce the problem. To your questions:
Quick question, how did you make bubble triangles to show? Is it an option under styleOptions? Thank you!
@arman-g the triangles are bubble nubs. You can take a look at packages\playground\src\App.js to see how they are implemented. :)
No progress yet on finding cause. I'll continue to investigate.
We're currently tentatively targeting a fix for this in the R9 release.
Looking at this one, I am seeing it in 4.8.0.

Logging here to understand what is happening. It's difficult to get this repro.



This is the root cause. In Chrome:
// Given time t = 0
setTimeout(() => {
console.log(Date.now());
}, 100);
The code above can sometimes print 99, instead of >= 100. And this is causing the timer not to be rescheduled, because the new scheduled time has not changed.