From cc8d92193a0be05dcca9260499f00f10a9287b89 Mon Sep 17 00:00:00 2001 From: virvar Date: Mon, 25 Apr 2016 12:05:54 +0300 Subject: [PATCH] Return status view Former-commit-id: b4c9c724813493b5a9fce8c57510bd5a5825d627 --- src/syng_im/components/chat.cljs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/syng_im/components/chat.cljs b/src/syng_im/components/chat.cljs index 1d2e360625..9fbe2e1720 100644 --- a/src/syng_im/components/chat.cljs +++ b/src/syng_im/components/chat.cljs @@ -148,19 +148,19 @@ (let [msgs @messages ;_ (log/debug "messages=" msgs) ;; temp to show first status - ;; msgs-clj (assoc (js->clj msgs) "-1" - ;; {:msg-id "-1" - ;; :content (str "The brash businessman’s braggadocio " - ;; "and public exchange with candidates " - ;; "in the US presidential election") - ;; :delivery-status "seen" - ;; :from "Status" - ;; :chat-id "-" - ;; :content-type content-type-status - ;; :timestamp 1 - ;; :outgoing false - ;; :to nil}) - ;; msgs (clj->js msgs-clj) + msgs-clj (assoc (js->clj msgs) "-1" + {:msg-id "-1" + :content (str "The brash businessman’s braggadocio " + "and public exchange with candidates " + "in the US presidential election") + :delivery-status "seen" + :from "Status" + :chat-id "-" + :content-type content-type-status + :timestamp 1 + :outgoing false + :to nil}) + msgs (clj->js msgs-clj) ;; end temp datasource (to-realm-datasource msgs) contacts (:contacts @chat)