Fix for ENG-9336.
Details
Details
Test case described in ENG-9336
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- fixes-2
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
It might be a better idea to clear the messages when a device is removed from the device list.
Also, we should clear auto-retriable messages that aren't scheduled using this queue.
Comment Actions
Created ENG-9338 to track.
Also, we should clear auto-retriable messages that aren't scheduled using this queue.
Addressed
This logic is a bit confusing.
I guess the reason we decided to store a separate deviceToken per keyserver is because we want to know if we've shared our deviceToken to that keyserver yet, not because we expect to have a different deviceToken per keyserver.
It would probably make more sense if we have a deviceTokenHasBeenUploaded: boolean in KeyserverInfo, and a deviceToken field at the top level of Redux. But we'll likely end up removing deviceTokens from keyservers soon anyways...