diff --git a/gulpfile.ts b/gulpfile.ts
index 95aeb6e06b..dd8fc7a63b 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -20,11 +20,15 @@ import * as mocha from 'gulp-mocha';
import * as replace from 'gulp-replace';
import * as htmlmin from 'gulp-htmlmin';
const uglifyes = require('uglify-es');
-const fontawesome = require('@fortawesome/fontawesome');
-const solid = require('@fortawesome/fontawesome-free-solid');
+import * as fontawesome from '@fortawesome/fontawesome';
+import * as regular from '@fortawesome/fontawesome-free-regular';
+import * as solid from '@fortawesome/fontawesome-free-solid';
+import * as brands from '@fortawesome/fontawesome-free-brands';
-// Adds all the icons from the Solid style into our library for easy lookup
+// Add icons
+fontawesome.library.add(regular);
fontawesome.library.add(solid);
+fontawesome.library.add(brands);
import version from './src/version';
diff --git a/package.json b/package.json
index df82e1f67c..584d6bd103 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,8 @@
},
"dependencies": {
"@fortawesome/fontawesome": "^1.0.0",
+ "@fortawesome/fontawesome-free-brands": "^5.0.0",
+ "@fortawesome/fontawesome-free-regular": "^5.0.0",
"@fortawesome/fontawesome-free-solid": "^5.0.0",
"@prezzemolo/rap": "0.1.2",
"@prezzemolo/zip": "0.0.3",
diff --git a/src/web/app/common/tags/messaging/form.tag b/src/web/app/common/tags/messaging/form.tag
index 9a687aebf2..7b133a71c4 100644
--- a/src/web/app/common/tags/messaging/form.tag
+++ b/src/web/app/common/tags/messaging/form.tag
@@ -9,7 +9,7 @@
%fa:upload%