Skip to content

Commit

Permalink
Update mtproto.go
Browse files Browse the repository at this point in the history
bug fix. in timeoffsetting.
  • Loading branch information
AmarnathCJD authored Aug 5, 2024
1 parent 2dfcea2 commit b304fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ func (m *MTProto) offsetTime() {
return
}

if timeResponse.Unixtime < currentLocalTime {
if timeResponse.Unixtime <= currentLocalTime {
return // -no need to offset time
}

Expand Down

0 comments on commit b304fc2

Please sign in to comment.