mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-08 14:43:09 -06:00
Use ParseUint instead of ParseInt
This commit is contained in:
parent
41d666317b
commit
73db1771b7
|
|
@ -144,7 +144,7 @@ func (s *PresenceConsumer) onMessage(ctx context.Context, msg *nats.Msg) bool {
|
|||
return true
|
||||
}
|
||||
|
||||
ts, err := strconv.ParseInt(timestamp, 10, 64)
|
||||
ts, err := strconv.ParseUint(timestamp, 10, 64)
|
||||
if err != nil {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue