creating a Channel in ObserveChannels is harder than it needs to be
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
15:29 < smcv>
sjokkis: def ObserveChannels(self, account, connection, channels,
blah, blah, blah)
15:30 < smcv>
sjokkis: @connection is the object path of the connection -
connection[1:].replace('/', '.') is the bus name
15:30 < smcv>
sjokkis: (yeah that's harder than it needs to be)
15:30 < sjokkis>
there should be a convenience function for that, at least. but
no big
15:31 < smcv>
I think Channel.init should accept either a Connection, a
connection bus name or a connection object path as its first
argument, and translate to a bus name internally
15:32 * tomeu likes that
Version: git master