Details
Details
Manually malformed device token for iOS device in DDB, try sending notif to this device and verify that flag was flipped and the message was sent to the device (both online and offline device)
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
services/tunnelbroker/src/websockets/session.rs | ||
---|---|---|
406 ↗ | (On Diff #42863) | we should use also Unregistered and ExpiredToken (410 status code) - I did mistake while committing, going to update in next rebase |
services/tunnelbroker/src/websockets/session.rs | ||
---|---|---|
406 ↗ | (On Diff #42863) | Just FYI - this syntax should be possible: if matches!( body.reason, ErrorReason::BadDeviceToken | ErrorReason::Unregistered | ErrorReason::ExpiredToken ) { |