mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
GODT-35: New pmapi client and manager using resty
This commit is contained in:
@ -255,10 +255,14 @@ func messagesContainsMessageRow(account *accounts.TestAccount, allMessages []int
|
||||
matches = false
|
||||
}
|
||||
case "read":
|
||||
unread := 1
|
||||
var unread pmapi.Boolean
|
||||
|
||||
if cell.Value == "true" { //nolint[goconst]
|
||||
unread = 0
|
||||
unread = pmapi.False
|
||||
} else {
|
||||
unread = pmapi.True
|
||||
}
|
||||
|
||||
if message.Unread != unread {
|
||||
matches = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user