Populate messageIDs fileds of threads with new messages in messageStore
Summary: This differential checks for any messages in messageStore that are not yet present in messageIDs fields in threads field of messageStore and inserts them. This way new messages that are already stored in SQLite can be directly displayed without interaction with server.
Test Plan: Build the Android app, launch it, log in and then kill it. Open web app with another client and send several messages to android client and then kill keyserver (Ctrl + C in terminal). Open Android app and ensure that despite being disconnected from server those new messages delivered via notification are correctly displayed. It needs to ba Android machine since we do not yet store notification in SQLite as they are delivered on iOS.
Reviewers: tomek, atul, jacek
Reviewed By: atul
Subscribers: ashoat, adrian, abosh
Differential Revision: https://phab.comm.dev/D4532