How to get the Message read/unread report in xmpp frame work?
<p>HI I am developing chat app so i am using xmpp framework.Chatting is working fine but how to get the message delivery like in whatsapp, facebook etc.,i searched for that i found some document here is my code upto now i am implemented </p>

<p>in connect Method</p>

<pre><code>XMPPMessageDeliveryReceipts* xmppMessageDeliveryRecipts = [[XMPPMessageDeliveryReceipts alloc] initWithDispatchQueue:dispatch_get_main_queue()];
xmppMessageDeliveryRecipts.autoSendMessageDeliveryReceipts = YES;
xmppMessageDeliveryRecipts.autoSendMessageDeliveryRequests = YES;
[xmppMessageDeliveryRecipts activate:self.xmppStream];
</code></pre>

<p>added this lines in sending messsage method</p>

<pre><code>NSXMLElement *request = [NSXMLElement elementWithName:@"request"];
 [request addAttributeWithName:@"xmlns" stringValue:@"urn:xmpp:receipts"];
 [message addChild:request];
[message addChild:body];
</code></pre>

<p>but This is for message delivered or not how can we check the deliverd message read or not i have seen these extentions XEP-0184,XEP-0333 but I don't have any idea to implement the read /unread messages. please help me</p>