~stefanor/ibid/passwords-723405

« back to all changes in this revision

Viewing changes to ibid/source/silc.py

  • Committer: Tarmac
  • Author(s): Max Rabkin
  • Date: 2011-03-13 15:13:25 UTC
  • mfrom: (1003.2.5 invite-705907)
  • Revision ID: ibid-lp-lander@rivera.za.net-20110313151325-yjetqvy3474stcmn
Handle invite events in Address, Ignore, Complain and Identity
Author: Max Rabkin
Merge Request: http://code.launchpad.net/~max-rabkin/ibid/invite-705907/+merge/47100
Approved by: Jonathan Hitchcock, Stefano Rivera
Fixes LP: #705907

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        del self.users[self._to_hex(user.fingerprint)]
174
174
 
175
175
    def notify_invite(self, channel, channel_name, inviter):
176
 
        event = self._create_event(u'invite', inviter, channel)
 
176
        event = self._create_event(u'invite', inviter, None)
 
177
        event.target_channel = channel
177
178
        event.public = False
178
179
        event.addressed = True
179
180
        self.factory.log.debug(u'Invited into %s by %s',