sugar3.presence.sugartubeconn module

Subclass of TubeConnection that converts handles to Sugar Buddies

STABLE.

class sugar3.presence.sugartubeconn.SugarTubeConnection(*args, **kwargs)

Bases: sugar3.presence.tubeconn.TubeConnection

Subclass of TubeConnection that converts handles to Sugar Buddies

get_buddy(cs_handle)

Retrieve a Buddy object given a telepathy handle.

cs_handle: A channel-specific CONTACT type handle. returns: sugar3.presence Buddy object or None