How to determine the message status (read/unread). Chat is realized with the XMPP protocol.
Mark unread will only take effect on your end. This helps you know that the message is new and needs viewing. But the sender will still see that you have already read the message.
It is vital to note here that marking a message as 'unread' only means that your messages are marked unread only for you. The sender will continue seeing the Blue Ticks indicating that you have read the messages but not replied.
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 love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With