A platform for community discussion. Free, open, simple.
FIX: Defer upload extension check for iOS (#15890)
Bianca Nenciu3170577ee104
diff --git a/app/assets/javascripts/discourse/app/components/composer-editor.js b/app/assets/javascripts/discourse/app/components/composer-editor.jsindex 9c47b576773..eed18fe3b1a 100644--- a/app/assets/javascripts/discourse/app/components/composer-editor.js+++ b/app/assets/javascripts/discourse/app/components/composer-editor.js@@ -200,7 +200,10 @@ export default Component.extend(ComposerUploadUppy, {@discourseComputed()acceptsAllFormats() {- return authorizesAllExtensions(this.currentUser.staff, this.siteSettings);+ return (+ this.capabilities.isIOS ||+ authorizesAllExtensions(this.currentUser.staff, this.siteSettings)+ );},@discourseComputed()