On Thu, Oct 14, 2010 at 7:12 PM, Leon Roy <[email protected]> wrote: > Hello, > > We're coding new XMPP clients which report to each other the time a message > is read by the far party. > > > > Would extending the <message> element with urn:xmpp:time from XEP-0202 like > below be valid? > > <message> > from='[email protected]/westminster' > id='richard2-4.1.247' > to='[email protected]/throne'> > <body>My lord, dispatch; read o'er these articles.</body> > <request xmlns='urn:xmpp:receipts'/> > > </message> > > > > <message> > from='[email protected]/throne' > id='bi29sg183b4v' > to='[email protected]/westminster'> > <received xmlns='urn:xmpp:receipts' id='richard2-4.1.247'/> > > <time xmlns='urn:xmpp:time'> > <tzo>-06:00</tzo> > <utc>2006-12-19T17:58:35Z</utc> > </time> > > </message> > > best, > -Leon
I'd use XEP-0203: Delayed Delivery. <message> from='[email protected]/throne' id='bi29sg183b4v' to='[email protected]/westminster'> <received xmlns='urn:xmpp:receipts' id='richard2-4.1.247'/> <delay xmlns='urn:xmpp:delay' from='[email protected]/throne' stamp='2002-09-10T23:08:25Z' /> </message> That would be because of that 'from' attribute on the <delay/> element, among other things. -- Waqas Hussain
