Fix checking invitation reponse

master
Daniel Berteaud 9 years ago
parent 44639502be
commit 5b0fc34888
  1. 2
      vroom.pl

@ -1481,9 +1481,11 @@ websocket '/socket.io/:ver/websocket/:id' => sub {
) )
); );
} }
if (keys %{$invitations} > 0){
delete $peer->{check_invitations}; delete $peer->{check_invitations};
$self->add_peer($id, $peer); $self->add_peer($id, $peer);
} }
}
$self->send(Protocol::SocketIO::Message->new( type => 'heartbeat' )); $self->send(Protocol::SocketIO::Message->new( type => 'heartbeat' ));
}); });

Loading…
Cancel
Save