mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 18:16:43 +00:00
Other: Safer user types
This commit is contained in:
@ -103,6 +103,10 @@ type SyncStatus struct {
|
||||
LastMessageID string
|
||||
}
|
||||
|
||||
func (status SyncStatus) IsComplete() bool {
|
||||
return status.HasLabels && status.HasMessages
|
||||
}
|
||||
|
||||
func newDefaultUser(userID, username, authUID, authRef string, keyPass []byte) UserData {
|
||||
return UserData{
|
||||
UserID: userID,
|
||||
|
||||
Reference in New Issue
Block a user