From 21dc1a9e9b7984aaba57514b625d0b1f58b2f72f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 22 Jul 2015 16:03:54 +0200 Subject: [PATCH] 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 --- vroom.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vroom.pl b/vroom.pl index f31b9a6..d688d16 100755 --- a/vroom.pl +++ b/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);