From 9e77635c320471cbd9b0d8a827686a450747b931 Mon Sep 17 00:00:00 2001 From: Alexander Pantyuhov Date: Tue, 18 Oct 2016 17:27:01 +0300 Subject: [PATCH] Dapp icon on non-dapp contact icon (#362) Former-commit-id: 4b348a7631a0fea6ccb0750e32d57124b8fc2c73 --- src/status_im/chat/views/message.cljs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/status_im/chat/views/message.cljs b/src/status_im/chat/views/message.cljs index 3edc391e9a..95bffe7e6b 100644 --- a/src/status_im/chat/views/message.cljs +++ b/src/status_im/chat/views/message.cljs @@ -37,14 +37,6 @@ {:uri photo-path}) :style st/contact-photo}]]) -(defn contact-online [online?] - (when online? - [view st/online-container - [view st/online-dot-left] - [view st/online-dot-right]])) - -;;[photo-path (subscribe [:chat-photo from]) - (defn message-content-status [{:keys [from]}] (let [chat-photo-path (subscribe [:chat-photo from]) {:keys [group-chat name]} (subscribe [:chat-properties [:group-chat :name]]) @@ -61,8 +53,7 @@ (< (* 60 1000)))] [view st/status-container [view st/status-image-view - [contact-photo (or photo-path @chat-photo-path)] - [contact-online online?]] + [contact-photo (or photo-path @chat-photo-path)]] [text {:style st/status-from :font :default :number-of-lines 1}