mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-10-31 08:11:16 +01:00 
			
		
		
		
	If no Notifications, we essentially don't have permission (should fix on iOS)
This commit is contained in:
		
							parent
							
								
									79c2a5abd6
								
							
						
					
					
						commit
						674f90f27f
					
				| @ -44,6 +44,7 @@ module.exports = { | |||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|     havePermission: function() { |     havePermission: function() { | ||||||
|  |         if (!this.supportsDesktopNotifications()) return false; | ||||||
|         return global.Notification.permission == 'granted'; |         return global.Notification.permission == 'granted'; | ||||||
|     }, |     }, | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user