Fix etherpad session creation

This commit is contained in:
Daniel Berteaud 2015-06-26 09:15:55 +02:00
parent 2a00e86a2e
commit 28b62f9931
1 changed files with 1 additions and 1 deletions

View File

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