Browse Source

change timeout setting

master
dennydai 5 years ago
parent
commit
76bf36938b
  1. 2
      classes/Telegram-Bot/init.php

2
classes/Telegram-Bot/init.php

@ -13,7 +13,7 @@ if ($GET['message']['chat']['id'] > 0) {
$msgid = $GET['message']['message_id'];
$from = $GET['message']['chat']['id'];
$date = $GET['message']['date'];
if ((time() - $date) > 120) {
if ((time() - $date) > 10) {
$text = 'unset';
}else {
$text = $GET['message']['text'];

Loading…
Cancel
Save