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

Error of unread message count #16

Open
mayyuen318 opened this issue Feb 20, 2017 · 2 comments
Open

Error of unread message count #16

mayyuen318 opened this issue Feb 20, 2017 · 2 comments

Comments

@mayyuen318
Copy link

mayyuen318 commented Feb 20, 2017

screen shot 2017-02-20 at 12 07 53 pm

There is a unread message at the top and next to the test2 conversation. However, I am the one sending the message and not yet received message from test2. Could you check whether it is an error from Chat SDK or the demo issue?

Let me know if it is SDK and if the issue already open on Chat SDK repo

@mayyuen318
Copy link
Author

Boris,
After discussing with Rick, he mentioned there is an alternative way to get the count right.
Kindly find Rick's reply here and solve the issue? SkygearIO/chat-SDK-JS#22 (comment)

@akiroz akiroz changed the title Error of unread message Error of unread message count Feb 24, 2017
@akiroz
Copy link
Collaborator

akiroz commented Feb 24, 2017

The unread_count is still not right even after calling markAsLastMessageRead.
The last_message is set but unread_count hasn't been cleared:
screenshot from 2017-02-24 16-16-29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants