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

Retrieving number of unreaded messages, Inbox #29

Open
zgilewski opened this issue May 13, 2020 · 3 comments
Open

Retrieving number of unreaded messages, Inbox #29

zgilewski opened this issue May 13, 2020 · 3 comments

Comments

@zgilewski
Copy link

Hi,
in our project we have requirement for showing number of unreaded messages per each contact.
During research we found that to achieve that we could use these extensions:
https://xmpp.org/extensions/xep-0430.html
https://xmpp.org/extensions/xep-0333.html
Base on tigase documentation, xep-0333 is supported by tigase server, but not 0430.
Is there any plan for supporting 0430 ?
If not, then is there anyway to achieve this kind of funcionality ?

Thx.

@woj-tek
Copy link
Contributor

woj-tek commented May 13, 2020

We don't have immediate plan of adding support for 0430/Inbox, but as explained in recent issue #26 you can use XEP-0013: Flexible Offline Message Retrieval (which is in a way similar to Inbox)

@zgilewski
Copy link
Author

zgilewski commented May 13, 2020

There is small difference between offline messages and unreaded messages.
When user is connected and send presence status, offline messages are delivered to him.
But delivering messages is not the same as reading them.
So next time when user will logs in, he will not get these messages using xep-0013 as they has been already delivered. So he will not have anymore information about number of unreaded messages (as offline messages has been already delivered).
In this case, as I understand we need to somehow store information about unreaded message by ourselve, correct ?

@woj-tek
Copy link
Contributor

woj-tek commented May 13, 2020

In this case, as I understand we need to somehow store information about unreaded message by ourselve, correct ?

For the moment - yes. But considering that Tigase XMPP Server is open source you can contribute desired, missing functionality.

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