On Mon, 2009-12-07 at 09:38 +0000, Will Thompson wrote:
> >>From XEP 45:
> >
> > <message
> > from='[email protected]'>
> > to='[email protected]/laptop'>
> > <x xmlns='http://jabber.org/protocol/muc#user'>
> > <invite from='[email protected]'>
> > <reason>This coven needs both wiccarocks and hag66.</reason>
> > <continue thread='e0ffe42b28561960c6b12b944a092794b9683a38'/>
> > </invite>
> > </x>
> > </message>
> >
> > Which is more or less what GTalk sends (it doesn't provide the continue
> > element).
>
> They don't provide the element which tells you it's an upgrade? The PDF
> on <http://bugs.freedesktop.org/show_bug.cgi?id=22768> suggests they're
> supposed to send <continue/>, but without thread=''.
It seems they do not, from my tests:
* message xmlns='jabber:client'
from='private-chat-dc9053c4-dc12-4615-8a01-62e06582b...@groupchat.google.com'
to='[email protected]' jid='[email protected]'
* x xmlns='http://jabber.org/protocol/muc#user'
* invite from='[email protected]/gmail.24E97497'
* reason
"You've been invited to this chat room!"
* x xmlns='google:nosave' value='disabled'
* record xmlns='http://jabber.org/protocol/archive' otr='false'
So no, it seems that they don't comply with their own spec even. :o(
> Failing that, there could be a special-case for an invite to a Google
> MUC, claiming it upgrades a 1-1 text channel with the inviter if you
> have one?
I considered that, is it correct though? GMail auto-approves any invite
it seems, the window just appears, so I don't think they really care
about the details.
> (What does Google Mail show me if you and Jonny are in a pmuc, I'm
> talking to you, and you invite me to the pmuc, OOI?)
Well a PMUC requires 3 people to initialise. I think the question is,
what happens if I'm talking to you, and I'm talking to Jonny, and I
upgrade one of those 1-to-1 chats to a PMUC with you and Jonny. I'll
test this and report.
--danni
--
Danielle Madeley
Software Developer, Collabora Ltd. Melbourne, Australia
www.collabora.co.uk
_______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy