Use autosubscribe

This commit is contained in:
lukasIO 2023-09-14 18:53:44 +02:00
parent e6b434a5d4
commit d14cf0ad18
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export default function CustomRoomConnection() {
const connectOptions = useMemo((): RoomConnectOptions => {
return {
autoSubscribe: false,
autoSubscribe: true,
};
}, []);

View file

@ -152,7 +152,7 @@ const ActiveRoom = ({ roomName, userChoices, onLeave }: ActiveRoomProps) => {
}
const connectOptions = useMemo((): RoomConnectOptions => {
return {
autoSubscribe: false,
autoSubscribe: true,
};
}, []);