SmartTokenLabs / TokenScript-Templates

TokenScript Templates Repository
3 stars 5 forks source link

Unread messages are not being highlighted when messages are sent from wallet "0x25f81833a56d6E71e44D16f8D2E27F1e999CD29F" #41

Open abhishes007 opened 1 month ago

abhishes007 commented 1 month ago

Unread messages are not being highlighted when messages are sent from wallet "0x25f81833a56d6E71e44D16f8D2E27F1e999CD29F"

Steps:

  1. Load latest TS file in TS Viewer.
  2. Connect wallets to message each other.
  3. Observe the messaging UI.

Issue:

  1. Whenever new messages are sent, we can see the "Unread message" and count being shown on Messaging window pop-up but when messages are sent by wallet address "0x25f81833a56d6E71e44D16f8D2E27F1e999CD29F" it is not being shown.

Recording:

https://github.com/user-attachments/assets/1eaafec2-b2cc-46f0-a865-a04e9cba09aa

nicktaras commented 1 month ago

@abhishes007 I've made some updates to enforce changes when the messages are read/unread (added logic to the messages main view to look for changes).

Hopefully the changes will fix this instance too.

abhishes007 commented 1 month ago

Hi @nicktaras , I tried with the latest changes and it seems this still does not work for messages being sent from the wallet - 0x25f81833a56d6e71e44d16f8d2e27f1e999cd29f Let me know if you need anything else.

https://github.com/user-attachments/assets/3c289444-59c3-47d3-9fa6-06a497606190

abhishes007 commented 1 month ago

I did a retry for the flow and it seems the issue is still persisting:

https://github.com/user-attachments/assets/a0dcc8d1-f2fa-471a-9e20-1a7bd44dc713

We can see in the recording it shows 2 unread message for the 0xb40b2...38 wallet But for the second wallet it shows 0 unread message while a new message was sent at the start and it should show 1 unread message.