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

Last Persistend id #26

Open
hotmeatballs opened this issue Mar 2, 2019 · 2 comments
Open

Last Persistend id #26

hotmeatballs opened this issue Mar 2, 2019 · 2 comments

Comments

@hotmeatballs
Copy link

hotmeatballs commented Mar 2, 2019

Hello!
Is it possible to get all notifications from one last persistent id?
And what is the best way for getting(not listening) notifications?
Now im starting listening and with setTimeout closing connection.
Thank you!

@hotmeatballs
Copy link
Author

hotmeatballs commented Mar 5, 2019

I found this in client.js

// Id of the last notification received
clientEvent : [],
receivedPersistentId : this._persistentIds,

I mean is it possible to send only one(!) last viewed persistent id?

@MatthieuLemoine
Copy link
Owner

I don't think so telling google that you have received a message does not mean you have received the previous ones.

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

2 participants