no message
This commit is contained in:
1 parent
ca1be77c57
commit
9956f1f09f
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user