method getUserStatus documentation in bbn\Appui\Chat
Gets the status of the current|given user
function(string $id = NULL)
  {
    if (!$this->user) {
      return false;
    }
    $ucfg = $this->user->getClassCfg();
    $cfg  = json_decode($this->db->selectOne($ucfg['table'], $ucfg['arch']['users']['cfg'], [$ucfg['arch']['users']['id'] => $id ?: $this->user->getId()]), true);
    return !isset($cfg['appui-chat']['online']) || !empty($cfg['appui-chat']['online']);
  }
  Gets the status of the current|given user BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
  
  
    
    
      
        
        
      
    
    
    
      
      
      
      
      
        
          
          
          
          
          
          
          
          
            
              
                
              
            
            
              
              This website uses cookies to ensure you get the best experience on our website.                
                
              
              
                
                
              
             
           
          
          
          
            
            © 2011-2025 
BBN Solutions