From 595c8dda60746e171dbbb905b355561334e2a5c8 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 1 Sep 2016 13:21:48 +0200
Subject: Favouriting works, reblogging is a little broken because of <Status>

---
 .../components/containers/status_list_container.jsx       | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'app/assets/javascripts/components/containers/status_list_container.jsx')

diff --git a/app/assets/javascripts/components/containers/status_list_container.jsx b/app/assets/javascripts/components/containers/status_list_container.jsx
index 9cdd7f4c2..cc6333a81 100644
--- a/app/assets/javascripts/components/containers/status_list_container.jsx
+++ b/app/assets/javascripts/components/containers/status_list_container.jsx
@@ -1,6 +1,7 @@
-import { connect }      from 'react-redux';
-import StatusList       from '../components/status_list';
-import { replyCompose } from '../actions/compose';
+import { connect }           from 'react-redux';
+import StatusList            from '../components/status_list';
+import { replyCompose }      from '../actions/compose';
+import { reblog, favourite } from '../actions/interactions';
 
 const mapStateToProps = function (state, props) {
   return {
@@ -12,6 +13,14 @@ const mapDispatchToProps = function (dispatch) {
   return {
     onReply: function (status) {
       dispatch(replyCompose(status));
+    },
+
+    onFavourite: function (status) {
+      dispatch(favourite(status));
+    },
+
+    onReblog: function (status) {
+      dispatch(reblog(status));
     }
   };
 };
-- 
cgit 

