mirror of
https://github.com/zhamao-robot/go-cqhttp-adapter-plugin.git
synced 2026-03-17 20:24:51 +08:00
Update GocqSegmentConverter.php
This commit is contained in:
parent
0137baff4c
commit
45f144477f
@ -76,6 +76,8 @@ class GocqSegmentConverter
|
|||||||
public function parseSegment11To12(string $type, array $data): array
|
public function parseSegment11To12(string $type, array $data): array
|
||||||
{
|
{
|
||||||
switch ($type) {
|
switch ($type) {
|
||||||
|
case 'text':
|
||||||
|
return [$type, $data];
|
||||||
case 'at':
|
case 'at':
|
||||||
$qq = $data['qq'];
|
$qq = $data['qq'];
|
||||||
unset($data['qq']);
|
unset($data['qq']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user