[Telepathy-commits] [telepathy-spec/master] Propose that dis12, req11 are handled by having no channel handler for contact lists

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Sep 26 08:20:50 PDT 2008


20080625114036-53eee-57e90542141bb63945b62511a105f2c84e349163.gz
---
 doc/dispatch.txt |   13 ++++++++++---
 doc/request.txt  |   15 +++------------
 2 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/doc/dispatch.txt b/doc/dispatch.txt
index cf0a85e..a5e3a17 100644
--- a/doc/dispatch.txt
+++ b/doc/dispatch.txt
@@ -447,9 +447,16 @@ Problems:
 * Can we register more than one channel handler for groups? Every process
   with a contact-list UI might be interested in them
 
-Possible solution: in processes with a contact-list UI, use the
-AccountManager API to find active connections, then use
-NewChannel/ListChannels to find any (ContactList, GROUP) channels
+Proposed implementation _`dis12impl1`:
+
+* Each contact list UI is an Observer for groups
+
+* There is no channel handler for groups
+
+Problems:
+
+* We'd have to avoid making the channel dispatcher panic and close the
+  "unhandled" group
 
 _`dis13`: A user-defined contact group is created
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/doc/request.txt b/doc/request.txt
index d1f8540..815aca1 100644
--- a/doc/request.txt
+++ b/doc/request.txt
@@ -636,18 +636,9 @@ Proposed implementation _`req11impl1`:
 
 Problems with req11impl1_:
 
-* If there is no channel handler, will the channel dispatcher panic and
-  try to close the channel? Or should the CD just special-case contact
-  lists?
-
-Proposed implementation _`req11impl2`:
-
-* The same, but everyone who cares about contact lists registers as a channel
-  handler for them, with HandleChannel being a no-op
-
-Problems with req11impl2_:
-
-* Various pointless HandleChannel calls
+* If there is no channel handler, we need to make sure the channel
+  dispatcher won't treat this as an error, or panic and
+  try to close the channel
 
 _`req12`: creating a user-defined contact group
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- 
1.5.6.5




More information about the Telepathy-commits mailing list