From 7d4a9ad376cf346826ab13b7c0d4eec60eb5cb7d Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Mon, 7 Dec 2015 18:13:14 -0500
Subject: Added preference_changed web socket event

---
 web/react/dispatcher/event_helpers.jsx | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'web/react/dispatcher/event_helpers.jsx')

diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx
index 306c59e8b..297555f38 100644
--- a/web/react/dispatcher/event_helpers.jsx
+++ b/web/react/dispatcher/event_helpers.jsx
@@ -148,3 +148,10 @@ export function emitClearSuggestions(suggestionId) {
         id: suggestionId
     });
 }
+
+export function emitPreferenceChangedEvent(preference) {
+    AppDispatcher.handleServerAction({
+        type: Constants.ActionTypes.RECIEVED_PREFERENCE,
+        preference
+    });
+}
-- 
cgit v1.2.3-1-g7c22

