浏览代码

reply-to fixes

Innocenty Enikeew 10 年之前
父节点
当前提交
a4cf650528
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      chatikbot.lisp

+ 2 - 2
chatikbot.lisp

@@ -41,7 +41,7 @@
               (otherwise (send-dont-understand chat-id id))))
           (telegram-send-message chat-id
                                  (format nil "Сам ~A"
-                                         (replace-all text "@chatikbot " "")))))))
+                                         (replace-all text "@chatikbot" "")))))))
 
 (defparameter +akb-user-id+ "3021296351" "Twitter user id of 'B-category anecdotes'")
 (defvar *akb-max-count* 5 "Max number of tweets to return per run")
@@ -56,7 +56,7 @@
               *akb-send-to* (set-difference *akb-send-to*
                                             (list chat-id)))
         (setf *akb-send-to* (cons chat-id *akb-send-to*)))
-    (telegram-send-message chat-id message :reply-to message-id)))
+    (telegram-send-message chat-id message)))
 
 (defun process-latest-akb ()
   (log:info "Getting latest AKBs")