mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 09:50:16 +08:00
Fix override
This commit is contained in:
parent
fb3fe2bcca
commit
18cf5621d0
@ -41,7 +41,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
|||||||
channel.connect("113.96.13.208", 8080)
|
channel.connect("113.96.13.208", 8080)
|
||||||
launch(CoroutineName("Incoming Packet Receiver")) { processReceive() }
|
launch(CoroutineName("Incoming Packet Receiver")) { processReceive() }
|
||||||
|
|
||||||
bot.logger.info("Trying login")
|
// bot.logger.info("Trying login")
|
||||||
var response: LoginPacket.LoginPacketResponse = LoginPacket.SubCommand9(bot.client).sendAndExpect()
|
var response: LoginPacket.LoginPacketResponse = LoginPacket.SubCommand9(bot.client).sendAndExpect()
|
||||||
mainloop@ while (true) {
|
mainloop@ while (true) {
|
||||||
when (response) {
|
when (response) {
|
||||||
@ -94,7 +94,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
|||||||
StatSvc.Register(bot.client).sendAndExpect<StatSvc.Register.Response>()
|
StatSvc.Register(bot.client).sendAndExpect<StatSvc.Register.Response>()
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun init() {
|
override suspend fun init() {
|
||||||
//start updating friend/group list
|
//start updating friend/group list
|
||||||
bot.logger.info("Start updating friend/group list")
|
bot.logger.info("Start updating friend/group list")
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user