4
4
44102015-05-25 18:50:38
XMPP
4410, 2015-05-25 18:50:38

XMPP: How to show the number of unread messages?

In the process of developing the application, it became necessary to write a chat for it. Full one-on-one chat. Actually, I found almost everything I need in XMPP. But there is a small problem: there is not a single specification that would allow you to mark messages as read / unread (to show the user that you have 4 unread messages when logging in, for example). Apparently this can only be implemented through custom plugins. Or am I missing something and it's already in the XMPP spec?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-05-25
@begemot_sun

When you log in, all offline messages are sent to you. The XEP-184 message acknowledgment status is only needed for inter-client communications.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question