gotd: add time synchronization

This commit is contained in:
Tulir Asokan
2026-02-26 18:24:48 +02:00
parent 93fe3cb0ea
commit 6af986ded5
15 changed files with 110 additions and 48 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func (c *Conn) handleMessage(msgID int64, b *bin.Buffer) error {
case mt.NewSessionCreatedTypeID:
return c.handleSessionCreated(b)
case mt.BadMsgNotificationTypeID, mt.BadServerSaltTypeID:
return c.handleBadMsg(b)
return c.handleBadMsg(msgID, b)
case mt.FutureSaltsTypeID:
return c.handleFutureSalts(b)
case proto.MessageContainerTypeID: