Fix etherpad session creation

master
Daniel Berteaud 10 years ago
parent 2a00e86a2e
commit 28b62f9931
  1. 2
      vroom.pl

@ -1485,7 +1485,7 @@ any '/api' => sub {
if ($role){ if ($role){
$self->session($room->{name}, {role => $role}); $self->session($room->{name}, {role => $role});
if ($ec && !$self->session($room->{name})->{etherpadSession}){ if ($ec && !$self->session($room->{name})->{etherpadSession}){
$self->create_etherpad_session(); $self->create_etherpad_session($room->{name});
} }
$self->set_peer_role({ $self->set_peer_role({
room => $room->{name}, room => $room->{name},

Loading…
Cancel
Save