 (defn make-image-message
   [url]
   [:span
-   [:a {:href url} url]
+   (make-external-link url)
    [:br]
    [:img {:src url
           :class-name "message-image"}]])

        iframe-attrs {:frameborder 0
                      :allowtransparency true
                      :height 80}
        default-value [:a {:href url} url]]
    (condp = url-kind
      "album" [:iframe (assoc iframe-attrs :src (str embed-url "album:" entity-id))]
      "track" [:iframe (assoc iframe-attrs :src (str embed-url "track:" entity-id))]


(defmethod convert-http-url :default
  [url]
  (make-external-link url))

(register-enricher! http-url-regex convert-http-url)

