This commit is contained in:
shoopea 2019-05-30 18:57:41 +08:00
parent 2c0b361edd
commit 7fc109ee0a

View File

@ -17,7 +17,7 @@ func clientSendCWMsg(userID64 int64, s string) {
func clientMsgMeAck(m *ChatWarsMessageMeAck) { func clientMsgMeAck(m *ChatWarsMessageMeAck) {
if _, ok := clientsQueue[m.Msg.UserID64]; ok { if _, ok := clientsQueue[m.Msg.UserID64]; ok {
if c, ok := clientsCW[m.Msg.UserID64]; ok { if c, ok := clientsCW[m.Msg.UserID64]; ok {
if c.LastUserUpdate.Before(m.Msg.Date) { if c.LastUpdate.Before(m.Msg.Date) {
c.GuildID64 = m.GuildID64 c.GuildID64 = m.GuildID64
c.State = m.State c.State = m.State
c.LastUpdate = m.Msg.Date c.LastUpdate = m.Msg.Date