Extract hook to get message list data
Summary: Second part of extracting shared logic from message-list-container into hooks to get this working on web
Test Plan: Check if message list is displayed correctly like before
Reviewers: palys-swm, ashoat
Reviewed By: palys-swm, ashoat
Subscribers: ashoat, zrebcu411, Adrian, atul, subnub, karol-bisztyga
Differential Revision: https://phabricator.ashoat.com/D777