From 6e5126ba1d273e9576923a65d5b614314970f99f Mon Sep 17 00:00:00 2001
From: ralder <ralder@yandex.ru>
Date: Mon, 13 Jul 2015 04:23:24 -0700
Subject: fix incorrect call for AsyncClient.dispatchError

---
 web/react/components/post_list.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/post_list.jsx')

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index e6e028209..2a01b8089 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -297,7 +297,7 @@ module.exports = React.createClass({
                 },
                 function(err) {
                     $(self.refs.loadmore.getDOMNode()).text("Load more messages");
-                    dispatchError(err, "getPosts");
+                    AsyncClient.dispatchError(err, "getPosts");
                 }
             );
     },
-- 
cgit v1.2.3-1-g7c22

