def __requestToJoinClub(self, clubDBID): result = yield self.clubsCtrl.sendRequest( club_ctx.SendApplicationCtx(clubDBID, '', waitingID='clubs/app/send', confirmID='clubs/app/send')) if result.isSuccess(): SystemMessages.pushMessage( club_fmts.getAppSentSysMsg(self.clubsCtrl.getClub(clubDBID)))
def __sendApplication(self): result = yield self.clubsCtrl.sendRequest( SendApplicationCtx(self.__clubDbID, '', waitingID='clubs/app/send', confirmID='clubs/app/send')) if result.isSuccess(): SystemMessages.pushMessage( club_fmts.getAppSentSysMsg( self.clubsCtrl.getClub(self.__clubDbID)))
def __sendApplication(self): result = yield self.clubsCtrl.sendRequest(SendApplicationCtx(self.__clubDbID, '', waitingID='clubs/app/send', confirmID='clubs/app/send')) if result.isSuccess(): SystemMessages.pushMessage(club_fmts.getAppSentSysMsg(self.clubsCtrl.getClub(self.__clubDbID)))
def __requestToJoinClub(self, clubDBID): result = yield self.clubsCtrl.sendRequest(club_ctx.SendApplicationCtx(clubDBID, '', waitingID='clubs/app/send', confirmID='clubs/app/send')) if result.isSuccess(): SystemMessages.pushMessage(club_fmts.getAppSentSysMsg(self.clubsCtrl.getClub(clubDBID)))