From 1ebe4fccc0755b87afde1cc6f3bfc7710574b2a1 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Feb 2015 17:04:49 +0100 Subject: [PATCH] Reload room data after creating the etherpad_group --- vroom.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vroom.pl b/vroom.pl index e318231..90a4683 100755 --- a/vroom.pl +++ b/vroom.pl @@ -1841,6 +1841,8 @@ get '/:room' => sub { # pad doesn't exist yet ? if (!$data->{etherpad_group}){ $self->create_pad($room); + # Reload data so we get the etherpad_group + $data = $self->get_room_by_name($room); } $self->create_etherpad_session($room); }