Skip to content

Commit

Permalink
remove members addition in dogfood meeting
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshvai committed Oct 6, 2023
1 parent 4f69a80 commit dbc91a7
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
} from '@stream-io/video-react-native-sdk';
import { MeetingStackParamList } from '../../../types';
import { MeetingUI } from '../../components/MeetingUI';
import { KnownUsers } from '../../constants/KnownUsers';

type Props = NativeStackScreenProps<MeetingStackParamList, 'MeetingScreen'>;

Expand All @@ -28,15 +27,7 @@ export const MeetingScreen = (props: Props) => {
useEffect(() => {
const getOrCreateCall = async () => {
try {
const members = KnownUsers.map((u) => ({
user_id: u.id,
}));
await call?.getOrCreate({
notify: true,
data: {
members,
},
});
await call?.getOrCreate();
} catch (error) {
console.error('Failed to get or create call', error);
}
Expand Down

0 comments on commit dbc91a7

Please sign in to comment.