Exemplo n.º 1
0
    def __doNotify(self):
        haveInvites = False
        for invite in prb_seqs.AutoInvitesIterator():
            prbID = invite.prbID
            haveInvites = True
            if prbID in self.__notified:
                continue
            if not len(invite.description):
                continue
            g_eventDispatcher.fireAutoInviteReceived(invite)
            self.__notified.add(prbID)

        if not haveInvites:
            self.__notified.clear()
Exemplo n.º 2
0
    def __doNotify(self):
        haveInvites = False
        for invite in prb_seqs.AutoInvitesIterator():
            prbID = invite.prbID
            haveInvites = True
            if prbID in self.__notified:
                continue
            if not invite.description:
                continue
            g_eventDispatcher.fireAutoInviteReceived(invite)
            showInvitationInWindowsBar()
            self.__notified.add(prbID)

        if not haveInvites:
            self.__notified.clear()