[telepathy-butterfly/master] Add the contact when it's in the allow list (we're not sure it's gonna be added to the forward list)

Louis-Francis Ratté-Boulianne louis-francis.ratte-boulianne at collabora.co.uk
Tue Aug 4 14:07:31 PDT 2009


---
 butterfly/channel/contact_list.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/butterfly/channel/contact_list.py b/butterfly/channel/contact_list.py
index 1e7c53e..7f2b40d 100644
--- a/butterfly/channel/contact_list.py
+++ b/butterfly/channel/contact_list.py
@@ -324,7 +324,7 @@ class ButterflyPublishListChannel(ButterflyListChannel,
                 # Nothing worth our attention
                 return
 
-            if contact.is_member(papyon.Membership.FORWARD):
+            if contact.is_member(papyon.Membership.ALLOW):
                 # Contact accepted
                 self.MembersChanged('', [handle], (), (), (), 0,
                         telepathy.CHANNEL_GROUP_CHANGE_REASON_INVITED)
-- 
1.5.6.5




More information about the telepathy-commits mailing list