예제 #1
0
 def postInvite(self, leaderId, inviterId, merger):
     self.notify.debug('post Invite')
     if not base.cr.avatarFriendsManager.checkIgnored(inviterId):
         inviter = base.cr.doId2do.get(inviterId)
         if inviter:
             if self.inviterPanels.isInvitingPanelUp() or self.inviterPanels.isInvitationRejectedPanelUp():
                 self.inviterPanels.forceCleanup()
             self.groupInviteePanel = GroupInvitee.GroupInvitee()
             self.groupInviteePanel.make(self, inviter, leaderId, merger)
             if base.config.GetBool('reject-boarding-group-invites', 0):
                 self.groupInviteePanel.forceCleanup()
                 self.groupInviteePanel = None
예제 #2
0
 def postInvite(self, leaderId, inviterId):
     """
     The AI tells us someone has been invited into a group
     """
     self.notify.debug("post Invite")
     if not base.cr.avatarFriendsManager.checkIgnored(inviterId):
         inviter = base.cr.doId2do.get(inviterId)
         if inviter:
             if self.inviterPanels.isInvitingPanelUp() or self.inviterPanels.isInvitationRejectedPanelUp():
                 self.inviterPanels.forceCleanup()
             self.groupInviteePanel = GroupInvitee.GroupInvitee()
             self.groupInviteePanel.make(self, inviter, leaderId)