From 5b8a8ecc5ed1153db170c4169eefbd289ba74c76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20S=C3=BC=C3=9F?= <msuess@mailbox.org>
Date: Mon, 3 Aug 2020 16:26:25 +0200
Subject: [PATCH] get screen type from app prop

---
 src/components/views/elements/AppTile.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/views/elements/AppTile.js b/src/components/views/elements/AppTile.js
index d0fc56743f..e2e7bd5d95 100644
--- a/src/components/views/elements/AppTile.js
+++ b/src/components/views/elements/AppTile.js
@@ -314,13 +314,13 @@ export default class AppTile extends React.Component {
             if (SettingsStore.isFeatureEnabled("feature_many_integration_managers")) {
                 IntegrationManagers.sharedInstance().openAll(
                     this.props.room,
-                    'type_' + this.props.type,
+                    'type_' + this.props.app.type,
                     this.props.app.id,
                 );
             } else {
                 IntegrationManagers.sharedInstance().getPrimaryManager().open(
                     this.props.room,
-                    'type_' + this.props.type,
+                    'type_' + this.props.app.type,
                     this.props.app.id,
                 );
             }