Skip to content

Commit

Permalink
Critical bugFix
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Feb 1, 2024
1 parent 48b9e55 commit 1dae0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func (m *MTProto) sendPacket(request tl.Object, expectedTypes ...reflect.Type) (
m.lastMessageIDMutex.Lock()
var (
data messages.Common
msgID = utils.GenerateMessageId(m.lastMessageID)
msgID = utils.GenerateMessageId(m.lastMessageID, m.timeOffset)
)
m.lastMessageIDMutex.Unlock()
m.lastMessageID = msgID
Expand Down

0 comments on commit 1dae0a1

Please sign in to comment.