Fixing contact lists
authorEd Page <eopage@byu.net>
Wed, 6 Jan 2010 02:58:16 +0000 (20:58 -0600)
committerEd Page <eopage@byu.net>
Wed, 6 Jan 2010 02:58:16 +0000 (20:58 -0600)
src/channel/contact_list.py

index aa5ccc9..462e2ea 100644 (file)
@@ -100,7 +100,7 @@ class AllContactsListChannel(AbstractListChannel):
                )
 
 
-def create_contact_list_channel(connection, h):
+def create_contact_list_channel(connection, manager, props, h):
        if h.get_name() == 'subscribe':
                # The group of contacts for whom you receive presence
                ChannelClass = AllContactsListChannel
@@ -126,6 +126,6 @@ def create_contact_list_channel(connection, h):
                ChannelClass = AllContactsListChannel
        else:
                raise TypeError("Unknown list type : " + h.get_name())
-       return ChannelClass(connection, h)
+       return ChannelClass(connection, manager, props, h)