aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r--lisp/mastodon-http.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el
index 0e49c08..acfda8f 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -54,7 +54,7 @@ Response buffer is passed to the CALLBACK function."
(json-read-from-string (mastodon--response-json))))
(defun mastodon--http-response-triage (status success)
- (when (not (mastodon--response-status))
+ (when (not (mastodon--response-status-p))
(mastodon--http-response-triage status))
(if (string-prefix-p "2" (mastodon--response-code))
(funcall success)