Send to JS client if the name is mandatory on this room

master
Daniel Berteaud 11 years ago
parent 5c0373ed8b
commit b1780003a3
  1. 1
      public/vroom.pl

@ -800,6 +800,7 @@ post '/action' => sub {
owner_auth => ($data->{owner_password}) ? 'yes' : 'no', owner_auth => ($data->{owner_password}) ? 'yes' : 'no',
join_auth => ($data->{join_password}) ? 'yes' : 'no', join_auth => ($data->{join_password}) ? 'yes' : 'no',
locked => ($data->{locked}) ? 'yes' : 'no', locked => ($data->{locked}) ? 'yes' : 'no',
ask_for_name => ($data->{ask_for_name}) ? 'yes' : 'no',
notif => Mojo::JSON->new->encode({email => { %emailNotif }}), notif => Mojo::JSON->new->encode({email => { %emailNotif }}),
status => $res status => $res
}, },

Loading…
Cancel
Save