mattermost-mobile/app
Jesse Hallam 954868f572
MM-16442: count actual reactions before falling back to has_reactions (#2910)
* MM-16442: leverage post hasReactions utils function

This handles backwards compatibility with servers that do not have post
metadata, allowing the client to detect the presence of reactions that
in turn might need to be loaded when the component is mounted.

* temporary mattermost-redux commit for testing

* revert usage of hasReactions, and count directly

We still fallback to has_reactions if set, in case we're connected to a server without post metadata.

* revert mattermost-redux changes
2019-07-06 03:46:51 -04:00
..
actions Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:26:03 -04:00
components MM-16442: count actual reactions before falling back to has_reactions (#2910) 2019-07-06 03:46:51 -04:00
constants MM-16061 Keep unread channels in place on Tablets (#2865) 2019-06-06 15:16:47 -04:00
i18n Add Ukrainian to Mattermost (#2392) 2018-11-28 15:08:23 -03:00
mattermost_bucket iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
mattermost_managed MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:59 -04:00
notification_preferences add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
push_notifications MM-16463 Fix replying from push notification to a message in a thread (#2927) 2019-06-26 17:00:50 +08:00
reducers Place the new message indicator at the top of the screen (#2943) 2019-07-02 12:28:55 -04:00
screens MM-16442: count actual reactions before falling back to has_reactions (#2910) 2019-07-06 03:46:51 -04:00
selectors Reorganize post state and make postsInChannel into a sparse array (#2693) 2019-04-15 17:20:23 -04:00
store Upgrade to RN 0.59.6 and dependencies (#2777) 2019-05-13 13:33:18 -04:00
styles add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
telemetry fix server version for Android telemetry (#2857) 2019-06-03 09:03:18 -07:00
utils Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:26:03 -04:00
app.js MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:59 -04:00
fetch_preconfig.js Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
initial_state.js [MM-14081] Show MFA Prompt after Server returned error for login request (#2599) 2019-03-01 19:01:10 +01:00
mattermost.js MM-16463 Fix replying from push notification to a message in a thread (#2927) 2019-06-26 17:00:50 +08:00