-import weakref
import logging
import telepathy
telepathy.server.ChannelTypeContactList.__init__(self, connection, h)
telepathy.server.ChannelInterfaceGroup.__init__(self)
- self._conn_ref = weakref.ref(connection)
self._session = connection.session
@todo This currently does not handle people with multiple phone
numbers, yay that'll be annoying to resolve
"""
- connection = self._conn_ref()
+ connection = self._conn
handlesAdded = [
handle.create_handle(connection, "contact", contactId)
for contactId in added