Selaa lähdekoodia

[macros] Fix *from*

Innokentii Enikeev 4 vuotta sitten
vanhempi
commit
47d855c79e
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      macros.lisp

+ 2 - 1
macros.lisp

@@ -25,7 +25,8 @@
 (defmacro with-parsed-message (message &body body)
   `(let* ((*message* ,message)
           (*message-id* (agets *message* "message_id"))
-          (*from-id* (agets *message* "from" "id"))
+          (*from* (agets *message* "from"))
+          (*from-id* (agets *from* "id"))
           (*chat-id* (agets *message* "chat" "id"))
           (*text* (agets *message* "text")))
      ,@body))