MVP: Only show images in media gallery

This commit is contained in:
Daniel Gasienica 2018-04-15 02:28:55 -04:00
parent b4e3749c88
commit f240269d7b

View file

@ -36,7 +36,8 @@ export const loadWithObjectURL = (loadMessage: MapAsync<Message>) => async (
messagesWithoutVideo.map(loadMessage) messagesWithoutVideo.map(loadMessage)
); );
const loadedMessages = sortBy( const loadedMessages = sortBy(
[...messagesWithVideo, ...loadedMessagesWithoutVideo], // [...messagesWithVideo, ...loadedMessagesWithoutVideo],
loadedMessagesWithoutVideo,
message => -message.received_at message => -message.received_at
); );