File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 178
178
{:message/keys [user inst user text thread-ts ts] :as message}]
179
179
180
180
(let [{:user/keys [name slack-id]
181
- :user-profile/keys [display-name real-name image-48]} user
182
- slack-instance (:clojurians-log.application/slack-instance request)]
181
+ :user-profile/keys [display-name real-name image-48]} user]
182
+ ( def slack-instance (:clojurians-log.application/slack-instance request))
183
183
184
184
; ; things in the profile
185
185
; ; :image_512 :email :real_name_normalized :image_48 :image_192 :real_name :image_72 :image_24
298
298
:user/slack-id [:a {:style " border: none; outline: 0; display: inline-block; padding: 8px 0px;
299
299
color: white; background-color: #000; text-align: center; cursor: pointer;
300
300
width: 100%; font-size: 18px;"
301
- :href (str " https://clojurians.slack.com//team/" v )} " let's talk on Slack" ]
302
- )
303
- )
304
- ]]])
301
+ :href (str slack-instance " /team/" v )} " let's talk on Slack" ]))]]])
305
302
306
303
(defn- sitemap-xml [{:data/keys [channel-day-tuples http-origin] :as context}]
307
304
[:urlset {:xmlns " http://www.sitemaps.org/schemas/sitemap/0.9" }
You can’t perform that action at this time.
0 commit comments