Use blob urls to display attachments
Converting attachment data to base64-encoded data uris takes O(n) and there's no need! URL.createObjectURL returns a magic link that can be set as the `src` attribute to `img`, `video`, and `audio` tags to load blob data directly without copying. https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURLpull/749/head
							parent
							
								
									4f5d3f0080
								
							
						
					
					
						commit
						df06499a19
					
				
					Loading…
					
					
				
		Reference in New Issue