From d5fdb35de0875ad12b3082e16ef8f6cbffa592b0 Mon Sep 17 00:00:00 2001
From: Thib <thibaultm@matrix.org>
Date: Wed, 15 Jun 2022 15:01:09 +0200
Subject: [PATCH] Move the appleAssociatedAppId in the jsonish file

---
 src/open/clients/Client.js  | 1 +
 src/open/clients/Element.js | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/open/clients/Client.js b/src/open/clients/Client.js
index 4393d71..fdee431 100644
--- a/src/open/clients/Client.js
+++ b/src/open/clients/Client.js
@@ -10,6 +10,7 @@ export class Client {
     get platforms() { return this.data.platforms; }
 
     get icon() { return "images/client-icons/"+this.data.icon; }
+    get appleAssociatedAppId() { return this.data.appleAssociatedAppId; }
     get name() {return this.data.name; }
     get description() { return this.data.description; }
     get homepage() { return this.data.homepage; }
diff --git a/src/open/clients/Element.js b/src/open/clients/Element.js
index 5c3099a..a4b4bcf 100644
--- a/src/open/clients/Element.js
+++ b/src/open/clients/Element.js
@@ -35,8 +35,6 @@ export class Element extends Client {
         super(data);
     }
 
-    get appleAssociatedAppId() { return "7J4U792NQT.im.vector.app"; }
-
     getDeepLink(platform, link) {
         let fragmentPath;
         switch (link.kind) {
-- 
GitLab