Update GocqSegmentConverter.php

This commit is contained in:
Jerry Ma
2024-10-01 23:03:17 +08:00
committed by GitHub
parent 0137baff4c
commit 45f144477f

View File

@@ -76,6 +76,8 @@ class GocqSegmentConverter
public function parseSegment11To12(string $type, array $data): array
{
switch ($type) {
case 'text':
return [$type, $data];
case 'at':
$qq = $data['qq'];
unset($data['qq']);