                       (fn [thread-id]
                         (dispatch! :tag-thread {:thread-id thread-id
                                                 :id (tag :id)}))
+                      :message-transform
+                      (fn [text]
+                        (string/replace text #"( *#\S*)" ""))
                       :html
                       (fn []
                         (dom/div #js {:className "tag-match"}

                                                      (when (= i highlighted-result-index) "highlight"))
                                      :style #js {:cursor "pointer"}
                                      :onClick (fn []
                                                 ((result :action) (config :thread-id))
                                                 (close-autocomplete!))}
                          ((result :html))))
                      results))
                  (dom/div #js {:className "result"}

    om/IInitState
    (init-state [_]
      {:text ""
       :force-close? false
       :highlighted-result-index -1})
    om/IRenderState
    (render-state [_ {:keys [text force-close? highlighted-result-index] :as state}]
      (let [constrain (fn [x a z]
                        (cond
                          (> x z) z
                          (< x a) a
