echo through wasn't going through :/
This commit is contained in:
parent
cbda9609f3
commit
bfad36c9d2
|
@ -98,9 +98,6 @@
|
||||||
forms
|
forms
|
||||||
:initial-value init)))))
|
:initial-value init)))))
|
||||||
|
|
||||||
(defun echo-through (obj &optional msg)
|
|
||||||
(format t "~A: ~S" msg obj))
|
|
||||||
|
|
||||||
(defmethod xmpp:handle ((conn xmpp:connection) (message xmpp:message))
|
(defmethod xmpp:handle ((conn xmpp:connection) (message xmpp:message))
|
||||||
(let ((sender (xmpp:from message)))
|
(let ((sender (xmpp:from message)))
|
||||||
(format *standard-output* "message received from ~A" sender)
|
(format *standard-output* "message received from ~A" sender)
|
||||||
|
@ -110,8 +107,7 @@
|
||||||
(xmpp:body)
|
(xmpp:body)
|
||||||
(decode-message)
|
(decode-message)
|
||||||
(dispatch-parse-message sender)
|
(dispatch-parse-message sender)
|
||||||
(handle-message)
|
(handle-message))))))
|
||||||
(echo-through "RESPONSE"))))))
|
|
||||||
|
|
||||||
(let ((backplane nil))
|
(let ((backplane nil))
|
||||||
(defun backplane-connect (xmpp-host xmpp-username xmpp-password)
|
(defun backplane-connect (xmpp-host xmpp-username xmpp-password)
|
||||||
|
|
Loading…
Reference in New Issue