mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 00:56:47 +00:00
GODT-1351: Cache and update of space bytes in user object.
This commit is contained in:
@ -115,6 +115,10 @@ func (u *Users) watchEvents() {
|
||||
log.WithError(err).Error("Failed to load store after reconnecting")
|
||||
}
|
||||
}
|
||||
|
||||
if user.totalBytes == 0 {
|
||||
user.UpdateSpace(nil)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user