We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d936d5 commit 9d9f4b1Copy full SHA for 9d9f4b1
src/clojurians_log/db/import.clj
@@ -97,8 +97,11 @@
97
(defmethod event->tx ["reaction_added" nil] [{:keys [user item reaction item_user event_ts ts]}]
98
;; Placeholder just to show that we're getting some data.
99
;; TODO: return Datomic transaction data to create a reaction entity
100
- (println "+" reaction)
101
- nil)
+ {:reaction/type "reaction_added"
+ :reaction/emoji [:emoji/shortcode reaction]
102
+ :reaction/ts ts
103
+ :reaction/user [:user/slack-id user]
104
+ :reaction/message [:message/key (message-key item)]})
105
106
(defmethod event->tx ["reaction_removed" nil] [{:keys [user item reaction item_user event_ts ts]}]
107
0 commit comments