Do not update room_participant table anymore iun ping

master
Daniel Berteaud 10 years ago
parent 8753ff81b7
commit 8cd064b3e4
  1. 10
      vroom.pl

@ -460,16 +460,6 @@ helper ping_room => sub {
WHERE `id`=?');
};
$sth->execute($data->{id});
$sth = eval {
$self->db->prepare('UPDATE `room_participants`
SET `last_activity`=CONVERT_TZ(NOW(), @@session.time_zone, \'+00:00\')
WHERE `id`=?
AND `participant`=?');
};
$sth->execute(
$data->{id},
$self->session('name')
);
$self->app->log->debug($self->session('name') . " pinged the room $name");
return 1;
};

Loading…
Cancel
Save