mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix light app.
This commit is contained in:
parent
d92d61c599
commit
ba9ffe0f41
@ -305,6 +305,10 @@ func (c *QQClient) parseGroupMessage(m *msg.Message) *message.GroupMessage {
|
||||
}
|
||||
// pre parse
|
||||
for _, elem := range m.Body.RichText.Elems {
|
||||
// 为什么小程序会同时通过RichText和long text发送
|
||||
if elem.LightApp != nil {
|
||||
break
|
||||
}
|
||||
// is rich long msg
|
||||
if elem.GeneralFlags != nil && elem.GeneralFlags.LongTextResid != "" {
|
||||
if f := c.GetForwardMessage(elem.GeneralFlags.LongTextResid); f != nil && len(f.Nodes) == 1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user