mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
sync session info on login.
This commit is contained in:
parent
a72d7f4db5
commit
6687d1e0c0
@ -311,6 +311,7 @@ func (c *QQClient) init() {
|
|||||||
go c.doHeartbeat()
|
go c.doHeartbeat()
|
||||||
}
|
}
|
||||||
_ = c.RefreshStatus()
|
_ = c.RefreshStatus()
|
||||||
|
_, _ = c.SyncSessions()
|
||||||
c.stat.once.Do(func() {
|
c.stat.once.Do(func() {
|
||||||
c.OnGroupMessage(func(_ *QQClient, _ *message.GroupMessage) {
|
c.OnGroupMessage(func(_ *QQClient, _ *message.GroupMessage) {
|
||||||
c.stat.MessageReceived++
|
c.stat.MessageReceived++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user