diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/chat/ChatListScreen.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/screens/chat/ChatListScreen.tsx b/src/screens/chat/ChatListScreen.tsx index 801a9d19..9011ed4a 100644 --- a/src/screens/chat/ChatListScreen.tsx +++ b/src/screens/chat/ChatListScreen.tsx @@ -25,7 +25,6 @@ const ChatListScreen: React.FC<ChatListScreenProps> = ({navigation}) => { const state: RootState = useStore().getState(); const loggedInUserId = state.user.user.userId; - // TODO: (CHAT) change this filter to filter for user-ids, or usernames?! const memoizedFilters = useMemo( () => ({ members: {$in: [loggedInUserId]}, @@ -59,9 +58,9 @@ const ChatListScreen: React.FC<ChatListScreenProps> = ({navigation}) => { <MessagesHeader createChannel={() => { // TODO: (CHAT) change me - const channel = chatClient.channel('messaging', 'test1', { - name: 'Awesome channel about test1', - members: [loggedInUserId], + const channel = chatClient.channel('messaging', { + name: 'Awesome channel with foobar', + members: [loggedInUserId, 'd5295557-59ce-49fc-aa8a-442874dbffc3'], }); channel.create(); }} |