1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

sync session info on login.

This commit is contained in:
Mrs4s 2021-03-01 20:25:16 +08:00
parent a72d7f4db5
commit 6687d1e0c0

View File

@ -311,6 +311,7 @@ func (c *QQClient) init() {
go c.doHeartbeat()
}
_ = c.RefreshStatus()
_, _ = c.SyncSessions()
c.stat.once.Do(func() {
c.OnGroupMessage(func(_ *QQClient, _ *message.GroupMessage) {
c.stat.MessageReceived++