mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
67856777f6
@ -3,7 +3,7 @@
|
||||
开发版本. 频繁更新, 不保证高稳定性
|
||||
|
||||
## `0.36.0` 2020/4/10
|
||||
- 支持临时会话: `TempMessage`
|
||||
- 支持临时会话: `TempMessage` (#16)
|
||||
- 支持群员主动加入事件 `MemberJoinEvent.Active`
|
||||
- 添加 `subscribeTempMessages` 等相关 DSL
|
||||
- 添加 `FriendAddEvent`, `FriendDeleteEvent` (#216)
|
||||
@ -11,7 +11,7 @@
|
||||
- 修复 `OfflineMessageSource.id`
|
||||
- 修复 `Member.kick`
|
||||
- 修复彩色群名片读取, 支持群名片更改事件 (#210)
|
||||
- 增加超时 (#28)
|
||||
- 增加超时 (#175)
|
||||
- 支持合并转发消息的解析, 修复部分情况下长消息解析失败的问题
|
||||
- 修复新成员加入时没有添加进成员列表的问题 (#172)
|
||||
|
||||
|
@ -41,11 +41,9 @@ import net.mamoe.mirai.qqandroid.network.protocol.packet.OutgoingPacket
|
||||
import net.mamoe.mirai.qqandroid.network.protocol.packet.buildResponseUniPacket
|
||||
import net.mamoe.mirai.qqandroid.utils._miraiContentToString
|
||||
import net.mamoe.mirai.qqandroid.utils.encodeToString
|
||||
import net.mamoe.mirai.qqandroid.utils.io.JceStruct
|
||||
import net.mamoe.mirai.qqandroid.utils.io.ProtoBuf
|
||||
import net.mamoe.mirai.qqandroid.utils.io.readString
|
||||
import net.mamoe.mirai.qqandroid.utils.io.serialization.*
|
||||
import net.mamoe.mirai.qqandroid.utils.io.serialization.jce.JceId
|
||||
import net.mamoe.mirai.qqandroid.utils.read
|
||||
import net.mamoe.mirai.qqandroid.utils.toUHexString
|
||||
import net.mamoe.mirai.utils.LockFreeLinkedList
|
||||
@ -537,12 +535,6 @@ internal class OnlinePush {
|
||||
}
|
||||
}
|
||||
|
||||
@Serializable
|
||||
private class Resp(
|
||||
@JceId(0) val var1: Long,
|
||||
@JceId(2) val var2: Int
|
||||
) : JceStruct
|
||||
|
||||
override suspend fun QQAndroidBot.handle(packet: Response, sequenceId: Int): OutgoingPacket? {
|
||||
return buildResponseUniPacket(client) {
|
||||
writeJceStruct(
|
||||
|
Loading…
Reference in New Issue
Block a user