Commit a9753c44 authored by Him188's avatar Him188

Fix sendMessage

parent e1786d95
......@@ -153,7 +153,7 @@ internal abstract class QQAndroidBotBase constructor(
getGroup(source.groupId).checkBotPermissionOperator()
}
println(source._miraiContentToString())
// println(source._miraiContentToString())
source.ensureSequenceIdAvailable()
network.run {
......
......@@ -284,7 +284,7 @@ internal class MessageSvc {
messageRandom = Random.nextInt().absoluteValue,
senderId = client.uin,
toUin = toUin,
time = currentTimeSeconds + client.timeDifference,
time = currentTimeSeconds,
groupId = 0,
sequenceId = client.atomicNextMessageSequenceId(),
originalMessage = message
......@@ -335,7 +335,7 @@ internal class MessageSvc {
messageRandom = Random.nextInt().absoluteValue,
senderId = client.uin,
toUin = Group.calculateGroupUinByGroupCode(groupCode),
time = currentTimeSeconds + client.timeDifference,
time = currentTimeSeconds,
groupId = groupCode,
originalMessage = message//,
// sourceMessage = message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment