Fix screen sharing not appearing on other peers

Fix #111
master
Daniel Berteaud 8 years ago
parent 4bda07f8d8
commit f82455237f
  1. 4
      vroom

@ -1966,10 +1966,10 @@ any '/api' => sub {
# Room persistence can only be set by admins
if ($req->{param}->{persistent} ne '' &&
$self->key_can_do_this({token => $token, action => 'set_persistent'})){
$room->{persistent} = ($req->{param}->{persistent} eq Mojo::JSON::true) ? '1' : '0';
$room->{persistent} = ($req->{param}->{persistent}) ? '1' : '0';
}
foreach my $pass (qw/join_password owner_password/){
if ($req->{param}->{$pass} eq Mojo::JSON::false){
if ($req->{param}->{$pass} eq "\0"){
$room->{$pass} = undef;
}
elsif ($req->{param}->{$pass} ne ''){

Loading…
Cancel
Save