On Thu, Oct 14, 2010 at 7:12 PM, Leon Roy <leon....@gltd.net> 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='northumberl...@shakespeare.lit/westminster' > id='richard2-4.1.247' > to='kingrich...@royalty.england.lit/throne'> > <body>My lord, dispatch; read o'er these articles.</body> > <request xmlns='urn:xmpp:receipts'/> > > </message> > > > > <message> > from='kingrich...@royalty.england.lit/throne' > id='bi29sg183b4v' > to='northumberl...@shakespeare.lit/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='kingrich...@royalty.england.lit/throne' id='bi29sg183b4v' to='northumberl...@shakespeare.lit/westminster'> <received xmlns='urn:xmpp:receipts' id='richard2-4.1.247'/> <delay xmlns='urn:xmpp:delay' from='kingrich...@royalty.england.lit/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