FIX: Detect DiscourseHub iOS app.

FIX: Detect DiscourseHub iOS app.

diff --git a/assets/javascripts/lib/keys_db.js.es6 b/assets/javascripts/lib/keys_db.js.es6
index 907906d..7bcb9d2 100644
--- a/assets/javascripts/lib/keys_db.js.es6
+++ b/assets/javascripts/lib/keys_db.js.es6
@@ -16,7 +16,9 @@ export const DB_NAME = "discourse-encrypt";
  *         - https://bugs.webkit.org/show_bug.cgi?id=177350
  *         - https://bugs.webkit.org/show_bug.cgi?id=182972
  */
-export const isSafari = !!navigator.userAgent.match(/Version\/(\d+).+?Safari/);
+export const isSafari =
+  !!navigator.userAgent.match(/Version\/(\d+).+?Safari/) ||
+  !!navigator.userAgent.match(/Discourse\/.*Darwin/);
 
 /**
  * Exports a public key.

GitHub sha: 91a1df16