notificationSizeValidator returns true if notification size is less than maximum notification size (that is, the size is correct). However we set payloadSizeExceeded
to true if notificationSizeValidator returns true. That's obviously wrong and we need to negate it.
I think the bug was introduced in the first place by notificationSizeValidator being not obvious name. I renamed it in another diff (D13713).
Details
Details
- Reviewers
ashoat kamil - Commits
- rCOMM9f1950582fea: Fix payloadSizeExceeded calculated incorrectly
- Create a new chat
- Verify that notification is verified correctly, that is payloadSizeExceeded is false.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- @graszka22/ENG-9376
- Lint
No Lint Coverage - Unit
No Test Coverage