Update CQ.php

This commit is contained in:
YuFengZe
2021-11-08 22:05:41 +08:00
committed by GitHub
parent 6b4d206099
commit 3235fd4dc1

View File

@@ -356,7 +356,7 @@ class CQ
} }
$cq["start"] = $offset + $head; $cq["start"] = $offset + $head;
$cq["end"] = $offset + $tmpmsg + $head; $cq["end"] = $offset + $tmpmsg + $head;
$offset += $tmpmsg + 1; $offset += $head + $tmpmsg + 1;
$cqs[] = (!$is_object ? $cq : CQObject::fromArray($cq)); $cqs[] = (!$is_object ? $cq : CQObject::fromArray($cq));
} }
return $cqs; return $cqs;