From 91bb69c6f7e644115e123280f5c18866f4d00cbf Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 6 Oct 2017 08:50:27 +0200 Subject: [PATCH] fix printing type symbol as event name --- src/status_im/ui/screens/events.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/ui/screens/events.cljs b/src/status_im/ui/screens/events.cljs index 588f60c725..af1273ab39 100644 --- a/src/status_im/ui/screens/events.cljs +++ b/src/status_im/ui/screens/events.cljs @@ -297,7 +297,7 @@ (fn [_ _] {::get-fcm-token-fx nil})) -(defn handle-jail-signal [{:keys[chat_id data]}] +(defn handle-jail-signal [{:keys [chat_id data]}] (let [{:keys [event data]} (types/json->clj data)] (case event "local-storage" (dispatch [:set-local-storage {:chat-id chat_id @@ -310,7 +310,7 @@ ;; TODO(janherich): figure out and fix chat_id from event (dispatch [:command-handler! (:chat-id orig-params) orig-params {:result {:returned (dissoc data :origParams)}}])) - (log/debug "Unknown jail signal " type)))) + (log/debug "Unknown jail signal " event)))) (register-handler-fx :signal-event