             [chat.server.digest :as digest]
             [clojure.set :refer [difference intersection]]
             [chat.shared.util :refer [valid-nickname? valid-tag-name?]]
-            [chat.server.extensions :refer [handle-thread-change]]
             [chat.server.email-digest :as email]
             [braid.common.schema :refer [new-message-valid?]]
             [braid.common.notify-rules :as notify-rules]

          (when-let [cb ?reply-fn]
            (cb :braid/ok))
          (broadcast-thread (new-message :thread-id) [])
          (notify-users new-message)
          (notify-extensions new-message))
        (do
          (timbre/warnf "Malformed new message: %s" (pr-str new-message))
          (when-let [cb ?reply-fn]

                    false))))
          (?data :mentioned-user-ids)))))

(defn notify-users [new-message]
  (let [subscribed-user-ids (->>
                              (db/get-users-subscribed-to-thread
