aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-27 10:52:40 -0400
committerIvan Chen <ivan@tagg.id>2021-04-27 10:52:40 -0400
commit6727fb09c25651627099ccb4abf48fbfd99a59c7 (patch)
tree24cea336d74b3f272d91ba3f9483c05cdd97cff2 /src
parentcaac607ed90c35ad8d4b2787b170e1fd1f165333 (diff)
fixed
Diffstat (limited to 'src')
-rw-r--r--src/screens/onboarding/Login.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/onboarding/Login.tsx b/src/screens/onboarding/Login.tsx
index 041fba05..3b970864 100644
--- a/src/screens/onboarding/Login.tsx
+++ b/src/screens/onboarding/Login.tsx
@@ -168,7 +168,7 @@ const Login: React.FC<LoginProps> = ({navigation}: LoginProps) => {
//Stores token received in the response into client's AsynStorage
try {
userLogin(dispatch, {userId: data.UserID, username});
- fcmService.sendFcmTokenToServer();
+ fcmService.sendFcmTokenToServer(chatClient);
connectChatAccount(data.UserID, chatClient);
} catch (err) {
Alert.alert(ERROR_INVALID_LOGIN);