Null guard new function to reduce error spam
							parent
							
								
									275ff6b41e
								
							
						
					
					
						commit
						281e2ab27b
					
				| 
						 | 
				
			
			@ -157,6 +157,7 @@ class FlairStore extends EventEmitter {
 | 
			
		|||
     * @returns The profile if known, otherwise null.
 | 
			
		||||
     */
 | 
			
		||||
    getGroupProfileCachedFast(matrixClient, groupId) {
 | 
			
		||||
        if (!matrixClient || !groupId) return null;
 | 
			
		||||
        if (this._groupProfiles[groupId]) {
 | 
			
		||||
            return this._groupProfiles[groupId];
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue