From f458e05da697f42a71e2a743312cdde32b100397 Mon Sep 17 00:00:00 2001 From: g9singh Date: Mon, 4 Mar 2019 13:22:04 -0800 Subject: [PATCH] on initial app install fetch new messages --- app/views/messaging/Messaging.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/messaging/Messaging.js b/app/views/messaging/Messaging.js index af5b59b98..945d3de5b 100644 --- a/app/views/messaging/Messaging.js +++ b/app/views/messaging/Messaging.js @@ -29,6 +29,7 @@ const checkData = (data) => { export class Messaging extends Component { componentDidMount() { logger.ga('View Loaded: Messaging') + this.props.updateMessages(new Date().getTime()) this.props.navigation.addListener('willFocus', () => { const { unreadMessages } = this.props.messages if (unreadMessages > 0) {