[lib] create new session on SESSION_DOES_NOT_EXIST error
Summary: ENG-9310.
Test Plan:
- Open apps on devices A, B.
- On A create session but drop session request message.
- On A start sending message - should result in sessionDoesNotExist error.
- Apply this patch.
- Send message, B should create the session and A or B resend not confirmed messages, made sure that all messages are now visible on both sides, no data is missing.
Reviewers: tomek, marcin
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13357