Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
2d9fc250
Commit
2d9fc250
authored
Oct 05, 2019
by
Filipe Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deepLinking.js
parent
16e1b0d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
app/sagas/deepLinking.js
app/sagas/deepLinking.js
+2
-4
No files found.
app/sagas/deepLinking.js
View file @
2d9fc250
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment