Bug 36774

Summary: add_messenger_contact minor bug
Product: papyon Reporter: Riccardo (c10ud) <c10ud.dev>
Component: generalAssignee: papyon-bugs
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Riccardo (c10ud) 2011-05-02 08:08:10 UTC
see https://github.com/emesene/emesene/issues/485

the

         if contact is self._client.profile:
            return # can't add ourself to the address book

must be put *before* 

        old_memberships = (contact and contact.memberships) or Membership.NONE


otherwise it will except

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.