[Bug 24939] Interface for upgrading chats/calls to multi-user
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 11 14:18:49 CET 2010
http://bugs.freedesktop.org/show_bug.cgi?id=24939
--- Comment #18 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2010-03-11 05:18:48 PST ---
Simon wanted me to state what parts of the conference interface Empathy
actually uses. There are two:
First of all, when it has a 1-1 chat, it looks at RequestableChannelClasses for
the connection and if there is a channel class with ChannelType=TEXT and
InitialChannels is in allowed properties, then it marks it as can be upgradable
to a MUC. If this is possible, then the "invite new person" option is
sensitive, otherwise it's insensitive.
Secondly, when you invite a new contact to a 1-1 conversation and Empathy has
already seen that this is possible with the InitialChannels property, it calls
CreateChannel with properties:
{ ChannelType: TEXT,
TargetHandleType: NONE,
InitialChannels: ['/old/object/path/'],
InitialInviteeIDs: ['smcv at example.com']
}
where smcv at example.com is obviously the contact we want to invite to the chat,
and /old/object/path/ is the object path of the old 1-1 chat.
This is the only thing Empathy does with the conference interface. As a result,
a new window pops up when this new channel is created.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list