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:
parent
f685fdbc78
commit
21dc1a9e9b
7
vroom.pl
7
vroom.pl
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user