diff options
author | Jonny Lamb <jonnylamb@gnome.org> | 2010-03-11 02:41:08 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2010-03-11 02:41:08 +0800 |
commit | 13a7c40c5aaf9b6ff9d75073775472f413959033 (patch) | |
tree | 67ca326f270637d0c976d37d14463cc136f64789 /HACKING | |
parent | 7d8f163d8dcb540f611b3581389e2c15971e479f (diff) | |
download | gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar.gz gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar.bz2 gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar.lz gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar.xz gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.tar.zst gsoc2013-empathy-13a7c40c5aaf9b6ff9d75073775472f413959033.zip |
tp-chat: when seeing if a chat can be upgraded, don't worry about handle type
When you upgrade a gtalk 1-1 chat to a PMUC, it moves from
[ChannelType=TEXT, TargetHandleType=CONTACT] to [ChannelType=TEXT,
TargetHandleType=ROOM].
When you upgrade an MSN 1-1 chat to a multi-user chat in butterfly, it
moves from [ChannelType=TEXT, TargetHandleType=CONTACT] to
[ChannelType=TEXT, TargetHandleType=NONE].
Both of these cases have the 1-1 chat properties set as fixed
properties in a class in their connection's RCC. They both also have
the upgraded set of properties as above fixed, and
o.fd.Tp.Channel.Interface.Conference(.DRAFT) in the appropriate
Allowed_Properties array.
Empathy used to look for this said channel interface in the allowed
properties of a TargetHandleType=ROOM class. As butterfly uses
TargetHandleType=NONE, this isn't so useful, so let's not care about
the handle type to fit around both gtalk and MSN.
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions