Reset start timestamp on reconnect (whatsapp). Fixes #1059

This commit is contained in:
Wim
2020-03-28 22:00:08 +01:00
parent 54b3143a1d
commit d03674f67d

View File

@@ -55,6 +55,7 @@ func (b *Bwhatsapp) reconnect(err error) {
err := b.conn.Restore()
if err == nil {
bf.Reset()
b.startedAt = uint64(time.Now().Unix())
return
}
}