def showUserInfo(self): databaseID = self.databaseID userName = self.userName userDossier, _, isHidden = yield g_itemsCache.items.requestUserDossier(databaseID) if userDossier is None: if isHidden: key = 'messenger/userInfoHidden' else: key = 'messenger/userInfoNotAvailable' from gui import DialogsInterface DialogsInterface.showI18nInfoDialog(key, lambda result: None, I18nInfoDialogMeta(key, messageCtx={'userName': userName})) else: shared_events.showProfileWindow(databaseID, userName) return
def onDossierReceived(databaseID, userName): shared_events.showProfileWindow(databaseID, userName)
def onDossierReceived(databaseID, userName): shared_events.showProfileWindow( databaseID, userName, selectedAlias=VIEW_ALIAS.PROFILE_STATISTICS, eventOwner='battleRoyale')
def onDossierReceived(databaseID, userName): event_dispatcher.showProfileWindow(databaseID, userName)