Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  XEP-184

Guest
Posted: Thu Oct 08, 2009 4:49 pm Reply with quote
Guest
On Mon, Aug 24, 2009 at 3:06 AM, Konstantin Khomoutov <flatworm@users.sourceforge.net (flatworm@users.sourceforge.net)> wrote:
Quote:
Jan Koum wrote:

Quote:
if we want to implement XEP-184, there is nothing that needs to be done on
the server, right?
Guest
Posted: Thu Oct 08, 2009 5:37 pm Reply with quote
Guest
On Thu, 8 Oct 2009 09:49:27 -0700
Jan Koum <jan.koum@gmail.com> wrote:

> > if we want to implement XEP-184, there is nothing that needs to be done on
> >> the server, right? it is pure client-to-client?
> > Right.
> > also, is there anything similar to XEP-184 but for server message
> >> receipts?
> >> so if client is offline, server will say "hey, i got the message"
> > http://xmpp.org/extensions/xep-0022.html (now deprecated) can be used to
> > force ejabberd notify your application when it saved the message into
> > offline storage (ejabberd supports this).
> late follow up question on this subject, but.. can XEP-184 be used with
> offline users as well? for example, lets say Romeo send a message to Julia
> with a receipt request, but Julia is not online. at some point later Julia
> signs on, retrieves her off-line messages and send back message receipts,
> right? But what if Romeo has also logged out by this time -- would ejabberd
> store the message receipt from Julia to Romeo until Romeo logs back in and
> retreives his message receipt?
I did not test it personally, but as receipts are just normal messages with a missing body and one special child element, the server should store them provided it supports offline storage.

The only "problem", it seems, is that the XEP-0184 says an entity SHOULD NOT request receipts when it sends messages to a full JID, and as I understand this, if a receiving entity if offline, we're supposed to send our messages to its full JID. But SHOULD NOT is not MUST NOT, of course.
I presume that message receipts as specified by XEP-0184 were developed
with the case of interactive chat in mind and hence the spec does not discuss the case of interacting with offline users.

Anyway, I'd just test it. All you need is two clients which support sending stanzas composed by hand or some other tool allowing to do this.
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist
Guest
Posted: Thu Oct 15, 2009 3:53 am Reply with quote
Guest
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/8/09 10:36 AM, flatworm@users.sourceforge.net wrote:
> On Thu, 8 Oct 2009 09:49:27 -0700 Jan Koum <jan.koum@gmail.com>
> wrote:
>
>>> if we want to implement XEP-184, there is nothing that needs to
>>> be done on
>>>> the server, right? it is pure client-to-client?
>>> Right. also, is there anything similar to XEP-184 but for server
>>> message
>>>> receipts? so if client is offline, server will say "hey, i got
>>>> the message"
>>> http://xmpp.org/extensions/xep-0022.html (now deprecated) can be
>>> used to force ejabberd notify your application when it saved the
>>> message into offline storage (ejabberd supports this).
>> late follow up question on this subject, but.. can XEP-184 be used
>> with offline users as well? for example, lets say Romeo send a
>> message to Julia with a receipt request, but Julia is not online.
>> at some point later Julia signs on, retrieves her off-line messages
>> and send back message receipts, right? But what if Romeo has also
>> logged out by this time -- would ejabberd store the message receipt
>> from Julia to Romeo until Romeo logs back in and retreives his
>> message receipt?
> I did not test it personally, but as receipts are just normal
> messages with a missing body and one special child element, the
> server should store them provided it supports offline storage.
>
> The only "problem", it seems, is that the XEP-0184 says an entity
> SHOULD NOT request receipts when it sends messages to a full JID, and
> as I understand this, if a receiving entity if offline, we're
> supposed to send our messages to its full JID. But SHOULD NOT is not
> MUST NOT, of course. I presume that message receipts as specified by
> XEP-0184 were developed with the case of interactive chat in mind and
> hence the spec does not discuss the case of interacting with offline
> users.

Yes, that is the usecase we had in mind for XEP-0184. There are some
edge cases with message receipts (e.g., resource goes offline and
message receipt request is stored offline and then delivered to another
resource). Naturally we could just send everything in IQs... Wink

Peter

- --
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrWfrIACgkQNL8k5A2w/vw/fgCgrQzyN4rXXRRZEXA0xbPjqcLj
/SkAn3hvUxCYi9AYGlwgRFF0CWyNhUW/
=6vy3
-----END PGP SIGNATURE-----

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post received from mailinglist
wuji
Posted: Thu Aug 30, 2012 6:41 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
of those life highlights I will never forget and was was cheap jordan shoes was fortunate enough to experience again at the opening ceremonies
Beijing, with Jimi pushing me into the birds nest."Tragedy Strikes Strikes designer replica *beep* Strikes a Second Time for Dave DennistonIt was one of
happiest moments in Denniston's life -- one that he would would cheap Ralph Lauren would remember in 2009, when he faced a second deep,
tragedy."I got a phone call from a friend and he he cheap Ralph Lauren Polo he said, 'Did you hear about Jimi?'"Denniston had not --
then he got the news that Flowers had died in in cheap jordan shoes in a fall while climbing a mountain in Aspen."For me,
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum