发现Overflow在发送转发消息时没有提供generateTitle(forward: RawForwardMessage)生成的标题,代码中没有看到使用title字段,导致mirai插件中所有自定义转发消息标题的操作全部失效了
https://github.com/mamoe/mirai/blob/283f8840d4682cc30fbdd87c66fe76f6a71ff8db/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt#L42
|
internal suspend fun sendForwardMessage(contact: Contact, forward: ForwardMessage): MsgId? { |
|
val bot = contact.bot.asOnebot |
|
val nodes = serializeForwardNodes(bot, forward.nodeList) |
|
return when (contact) { |
|
is Group -> bot.impl.sendGroupForwardMsg(contact.id, nodes, forward.source, forward.summary, forward.preview, forward.brief).data |
|
else -> bot.impl.sendPrivateForwardMsg(contact.id, nodes, forward.source, forward.summary, forward.preview, forward.brief).data |
|
} |
|
} |
不知道是否存在相关的限制没有实现此功能
发现Overflow在发送转发消息时没有提供
generateTitle(forward: RawForwardMessage)生成的标题,代码中没有看到使用title字段,导致mirai插件中所有自定义转发消息标题的操作全部失效了https://github.com/mamoe/mirai/blob/283f8840d4682cc30fbdd87c66fe76f6a71ff8db/mirai-core-api/src/commonMain/kotlin/message/data/ForwardMessage.kt#L42
Overflow/overflow-core/src/main/kotlin/top/mrxiaom/overflow/internal/message/OnebotMessages.kt
Lines 219 to 226 in 4a721ee
不知道是否存在相关的限制没有实现此功能