no message
This commit is contained in:
parent
ca1be77c57
commit
9956f1f09f
@ -55,7 +55,7 @@ final class HookController
|
||||
$sText = $aUpdate["message"]["text"];
|
||||
|
||||
// 先检查step
|
||||
if (strpos($string, "/s ") === 0 && $oTgStep->fromIdHit($aData['fromId'])) {
|
||||
if (strpos($sText, "/s ") === 0 && $oTgStep->fromIdHit($aData['fromId'])) {
|
||||
|
||||
$sText = ltrim($sText, '/s');
|
||||
$sText = trim($sText);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user