PS Activity objects: replace GetChannels() with something more useful
|Reported by:||smcv||Owned by:||gdesmott|
|Priority:||normal||Milestone:||8.2.0 (was Update.2)|
|Deployments affected:||Action Needed:||finalize|
The code added in #4503 really wants to get the type, handle type and handle for each channel, without additional round trips. The ListChannels() method in Telepathy returns this information, but GetChannels() in the PS doesn't.
We should add a method (perhaps call it ListChannels() too?) that returns the connection object path, and an array of structs containing channel object paths, types, handle types and handles. The service name isn't strictly necessary, since Telepathy guarantees that you can derive it from the connection object path, but perhaps we should include that too for clarity.
Once this is implemented, we can remove numerous round trips in sugar.presence.
Change History (23)
Changed 7 years ago by gdesmott
comment:7 Changed 7 years ago by smcv
- Cc olpc@… added; morgs gdesmott removed
- Owner changed from smcv to gdesmott