diff options
author | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 12:42:59 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus@disroot.org> | 2024-10-30 12:42:59 +0100 |
commit | 16c4ddcd693068c738ae4bb271c60841f1912f4c (patch) | |
tree | e7b3c8437ed942ea28a3554e5e784ebd1f3167da /lisp/mastodon-http.el | |
parent | 879eaeefb559ec4e90314e1e94fb8f5045fb0a16 (diff) | |
parent | e97547a1604944cb281d95c3e94848f2b559a16d (diff) |
Merge branch 'develop'
Diffstat (limited to 'lisp/mastodon-http.el')
-rw-r--r-- | lisp/mastodon-http.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 1093de1..47b96fe 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -243,7 +243,9 @@ Callback to `mastodon-http--get-response-async', usually ;; ideally we should handle the status code in here rather than ;; this crappy hack? ((string-prefix-p "\n<" json-string) ; html hack - (mastodon-http--render-html-err json-string)) + ;; NB: in this case, process-response returns t!: + (mastodon-http--render-html-err json-string) + nil) ;; return nil instead of t ;; if no json or html, maybe we have a plain string error message ;; (misskey does this, but there are probably better ways to do ;; this): |