Hi all,

My name is Noah Schwartz. New to this list and have been working on a chat
platform for the past 3 months.

I'm looking to add support for message read status and was surprised to not
find an XEP for this.

The example: Suppose I log into my chat application and then step away.
During that time I receive many messages and then, without checking if
anyone has reached out to me, I shut down my machine. We would like to be
able to tell the user the next time they login which messages we believe to
be unread by them.

Our naive solution was to track in our server the last time you looked at
the chat with that JID (be it individual or muc) and match this against
archived chat history. The assumption is that if you look at a chat window,
the conversation is considered read and we send an IQ to the server with
the JID and the timestamp. So, in my earlier example the client would know
that messages are unread as the server would tell it that the chat had last
been looked at before those messages were received.

I was curious to get people's thoughts. Thanks for listening,

Best,
Noah

Reply via email to