Procházet zdrojové kódy

[macros] Fix *from*

Innokentii Enikeev před 4 roky
rodič
revize
47d855c79e
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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))