How to determine the message status (read/unread) in chat?
How to determine the message status (read/unread). Chat is realized with the XMPP protocol. XEP-0184 : Message Delivery Receipts supports notifying senders when their message has been delivered. You might be able to use that as a building block, as long as you don't expect existing clients to send these receipts -- the XEP is not widely-implemented today. I think you need to use the Displayed Chat Marker, per http://xmpp.org/extensions/xep-0333.html If you want to get the read receipts then instead of sending auto message delivery receipts, send it whenever user reads that message. Each