From 72550083f944ca14d56ea861fb8f13e20392ea47 Mon Sep 17 00:00:00 2001 From: virvar Date: Sat, 23 Apr 2016 23:59:48 +0300 Subject: [PATCH] Hide status message Former-commit-id: cd3c6e93c9b8aac8e6a0ec82d50564244745d7c0 --- 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 9fbe2e1720..1d2e360625 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)