예제 #1
0
 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
예제 #2
0
 def onDossierReceived(databaseID, userName):
     shared_events.showProfileWindow(databaseID, userName)
예제 #3
0
 def onDossierReceived(databaseID, userName):
     shared_events.showProfileWindow(
         databaseID,
         userName,
         selectedAlias=VIEW_ALIAS.PROFILE_STATISTICS,
         eventOwner='battleRoyale')
예제 #4
0
 def onDossierReceived(databaseID, userName):
     shared_events.showProfileWindow(databaseID, userName)
예제 #5
0
 def onDossierReceived(databaseID, userName):
     event_dispatcher.showProfileWindow(databaseID, userName)
예제 #6
0
 def onDossierReceived(databaseID, userName):
     event_dispatcher.showProfileWindow(databaseID, userName)