dash_chat icon indicating copy to clipboard operation
dash_chat copied to clipboard

[Bug] Old Chat messages are not aligned with sender to the right

Open JechtTyre opened this issue 3 years ago • 1 comments

Describe the bug

  • When you load old chat messages on DashChat, the old messages of the sender appear aligned with the messages to the left. This means chat messages of the sender's phone and messages from other people in chat all show to the left together in a column. Only newly sent messages appear aligned correctly to the right and opposite side of the screen.

To Reproduce Steps to reproduce the behavior:

  • Store previously sent messages and reload the widget.

Expected behavior Messages of the sender should appear aligned to the right of the sender's phone like how newly sent chat messages appear.

Screenshots Screenshot_20210518-142043

JechtTyre avatar May 18 '21 18:05 JechtTyre

The way the alignment works is that I can check for the user's id with each message if the id matches it will be aligned to the right and if not to the left, so in your case, the messages might not have the correct id of something similar to this.

fayeed avatar May 29 '21 07:05 fayeed