def processInvites(self, accountsToInvite): if accountsToInvite: self._entity.request(SendInvitesCtx(accountsToInvite, '')) self._showInviteSentMessage(accountsToInvite)
def sendInvites(self, accountsToInvite, comment): self.prbEntity.request(SendInvitesCtx(accountsToInvite, comment))
def invite(self): user = self.usersStorage.getUser(self.databaseID) if self.prbEntity.getPermissions().canSendInvite(): self.prbEntity.request(SendInvitesCtx([self.databaseID], '')) showSentInviteMessage(user)
def sendInvites(self, accountsToInvite, comment): self.prbEntity.request(SendInvitesCtx(accountsToInvite, comment)) self.__showSentInviteMessages(accountsToInvite)