1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-02 05:21:39 +02:00

Don't prompt for password if invited

Also bypass the lock settings as if you are invited, it probably means the chairman want you to join
This commit is contained in:
Daniel Berteaud 2015-07-22 16:03:54 +02:00
parent f685fdbc78
commit 21dc1a9e9b

View File

@ -2339,6 +2339,13 @@ get '/:room' => sub {
room => $room,
);
}
if ($self->check_invite_token($room,$token)){
$self->associate_key_to_room(
room => $room,
key => $self->session('key'),
role => 'participant'
);
}
# pad doesn't exist yet ?
if ($optf->{etherpad} && !$data->{etherpad_group}){
$self->create_pad($room);