[JDEV] Jabber Clients: sending a single message to more than one person

Peter Saint-Andre stpeter at jabber.org
Tue Mar 6 17:53:32 CST 2001


Colin Madere wrote:

> This is true, Andy, but you are then actually 
> sending a copy of the message _from_ the client 
> for _every_ person, and it appears that this 
> would be the case with the proposed "Envelope". 

This is not my understanding of the proposed jabber:x:envelope protocol.
I would think a client would send a message packet that looks something
like this:

<message to='sam at jabber.org'>
  <body>I do not like green eggs and ham!</body>
  <x xmlns='jabber:x:envelope'> 
    <to jid='thing1 at jabber.org'>Thing1</to>
    <to jid='thing2 at jabber.org'>Thing2</to>
    <to jid='horton at jabber.org'>Horton</to>
    <cc jid='southgoingzax at jabber.org'>SouthZax</cc>
    <cc jid='northgoingzax at jabber.org'>NorthZax</cc>
  </x>
</message>

So only this one message gets sent from client to server. The server
then takes care of sending it to the multiple recipients.

Am I missing something?

Peter

--
Peter Saint-Andre
stpeter at jabber.org




More information about the JDev mailing list