[lib] Wait with processing inbound messages for Tunnelbroker connection
Depends on D13802
Test Plan:
- Comment out code in removeInboundP2PMessages() function
- Send some messages
- Now getAllInboundP2PMessages() should always return something
- Restart the app
- Verify that:
- before the patch in the logs there are errors like "Error while sending confirmation: Tunnelbroker not connected [Error: Tunnelbroker not connected]"
- after the patch the errors should disappear
Reviewers: tomek, kamil
Reviewed By: kamil
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13792