Explorar el Código

[macros] Fix *from*

Innokentii Enikeev hace 4 años
padre
commit
47d855c79e
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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))