diff options
Diffstat (limited to 'src/wasp-event-handlers-binary.el')
| -rw-r--r-- | src/wasp-event-handlers-binary.el | 8 |
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" |
