✏️ 修复 manager 定时器错误

同时 make lint happy
This commit is contained in:
fumiama
2021-12-26 14:07:05 +08:00
parent 1682c321d3
commit cb44758036
14 changed files with 74 additions and 50 deletions

View File

@@ -20,7 +20,10 @@ func initChatList(postinit func()) {
if err != nil {
panic(err)
}
json.Unmarshal(data, &kimomap)
err = json.Unmarshal(data, &kimomap)
if err != nil {
panic(err)
}
for k := range kimomap {
chatList = append(chatList, k)
}