summaryrefslogtreecommitdiff
path: root/granolin.lisp
diff options
context:
space:
mode:
authorBoutade <thegoofist@protonmail.com>2019-09-26 08:34:45 -0500
committerBoutade <thegoofist@protonmail.com>2019-09-26 08:34:45 -0500
commitc13c3fa4d6a3cd7604f9e9a1009415fb672d0f72 (patch)
tree4392bf71d3a0ba0b756bec5dcb9ea327f873e57e /granolin.lisp
parent61d66a9cd09ad3c01f97f2fc5abc98505258eb9c (diff)
created auto-joiner to respond to invites
Diffstat (limited to 'granolin.lisp')
-rw-r--r--granolin.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/granolin.lisp b/granolin.lisp
index ab04c51..40963f5 100644
--- a/granolin.lisp
+++ b/granolin.lisp
@@ -174,11 +174,15 @@
(event-type :|type|)
(sender :|sender|))
+(def-json-wrap basic-json)
+
+
;;; URI constants for interacting with the Matrix API
(defparameter +login-path+ "/_matrix/client/r0/login")
(defparameter +sync-path+ "/_matrix/client/r0/sync")
+
;;; Utility functions and macros for making HTTP requests to the MATRIX API
(defun add-auth-header (client headers)