aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/messages.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/messages.ts b/src/utils/messages.ts
index dc01d579..a0bbdb46 100644
--- a/src/utils/messages.ts
+++ b/src/utils/messages.ts
@@ -3,6 +3,7 @@ import moment from 'moment';
import {loadChatTokenService} from '../services/ChatService';
import {RootState} from '../store/rootReducer';
import {ChannelGroupedType} from '../types';
+import {StreamChat} from 'stream-chat';
/**
* Finds the difference in time in minutes
@@ -86,7 +87,7 @@ export const getMember = (
export const connectChatAccount = async (
loggedInUserId: string,
- chatClient,
+ chatClient: StreamChat,
) => {
try {
await getChatToken();