This differential replaces throw with log and early return upon arrival of the rescind that contains threadID which does not exist in local db on device. Situation when such a rescind arrives is possible and is not considered a bug anywhere soe throwin an exception here is not appriate. This differential also solves crash described here: https://linear.app/comm/issue/ENG-1892/ios-145-crash
Details
Details
Reproduce the following scenarion twice - before and after applying this differential:
- User A creates a chat with User B
- User B opens the chat on web and marks the chat as read
We should expect that User B's mobile app will crash before this diff and just log information after applying this diff.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
That makes sense. One scenario where it can happen is receiving a notification for a thread that was deleted just before the notif was delivered.