Ejemplo n.º 1
0
        public async Task Handle(ConferenceOpenedNotification notification, CancellationToken cancellationToken)
        {
            var conferenceId = notification.ConferenceId;

            await EnsureDefaultRoomCreated(conferenceId);

            var participants = await _joinedParticipantsRepository.GetParticipantsOfConference(conferenceId);

            await MoveParticipantsToDefaultRoom(conferenceId, participants);
        }