From 2d9fc25050d21b6645ca8dc10cb5e008bb57ecfc Mon Sep 17 00:00:00 2001 From: Filipe Brito Date: Sat, 5 Oct 2019 10:56:18 -0300 Subject: [PATCH] Update deepLinking.js --- app/sagas/deepLinking.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/sagas/deepLinking.js b/app/sagas/deepLinking.js index 2706be47d..c6382776d 100644 --- a/app/sagas/deepLinking.js +++ b/app/sagas/deepLinking.js @@ -10,7 +10,7 @@ import database from '../lib/database'; import RocketChat from '../lib/rocketchat'; import EventEmitter from '../utils/events'; import { appStart } from '../actions'; -import { isIOS } from '../utils/deviceInfo'; +import { IDENTIFIER } from '../constants/credentials'; const roomTypes = { channel: 'c', direct: 'd', group: 'p' @@ -33,9 +33,7 @@ const handleOpen = function* handleOpen({ params }) { return; } - if (isIOS) { - yield RNUserDefaults.setName('group.ios.chat.rocket'); - } + yield RNUserDefaults.setName(IDENTIFIER); let { host } = params; if (!/^(http|https)/.test(host)) {