summaryrefslogtreecommitdiff
path: root/src/wasp-event-handlers-binary.el
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-07-21 00:14:25 -0400
committerLLLL Colonq <llll@colonq>2026-07-21 00:14:25 -0400
commitf04ada478f4bfa5637744876f00ff56f85dcf552 (patch)
tree50cde49222fdddf4274b3e123568fe2c75c5e155 /src/wasp-event-handlers-binary.el
parent75e005e81b73d8471f16dc5fad7bbdc312bdbfe7 (diff)
Update
Diffstat (limited to 'src/wasp-event-handlers-binary.el')
-rw-r--r--src/wasp-event-handlers-binary.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wasp-event-handlers-binary.el b/src/wasp-event-handlers-binary.el
index 22e67a04..0cf11111 100644
--- a/src/wasp-event-handlers-binary.el
+++ b/src/wasp-event-handlers-binary.el
@@ -13,12 +13,16 @@
(setf
w/bus-binary-event-handlers
(list
+ (cons "friend response"
+ (lambda (d)
+ (when-let* ((k (queue-dequeue w/friend-response-queue)))
+ (funcall k d))))
(cons "fig monitor twitch chat incoming"
(lambda (d)
(-let* ( ((users stags msg) (s-split-up-to " " (w/utf8 d) 2))
- ((user disp) (s-split-up-to "\t" users 2)))
+ ((disp user) (s-split-up-to "\t" users 2)))
(w/twitch-handle-incoming-chat
- user
+ user disp
(--map (s-split "\t" it) (s-split "\n" stags))
msg))))
(cons "fig monitor twitch redeem incoming"