   [{:keys [content params] :as message}]
   (letsubs [command [:get-command (:content-command-ref content)]]
     (let [preview (:preview content)
-          {:keys [type color] icon-path :icon} command]
+          {:keys [color] icon-path :icon} command]
       [react/view style/content-command-view
        (when color
          [react/view style/command-container

(ns status-im.chat.views.message.message
  (:require-macros [status-im.utils.views :refer [defview letsubs]])
  (:require [re-frame.core :as re-frame]
            [clojure.walk :as walk]
            [reagent.core :as reagent]
            [status-im.ui.components.react :as react]
            [status-im.ui.components.animation :as animation]

     (when-not same-author?
       (if outgoing
         [my-photo from]
         [react/touchable-highlight {:on-press #(re-frame/dispatch [:show-profile from])}
          [react/view
           [member-photo from]]]))]
    [react/view (style/group-message-view message)
     content
     (when last-outgoing?
