aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-http.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 16:36:47 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 16:36:47 +0200
commitfa704169dfb18f080f4fbc25eb440dbf28ae2f2b (patch)
treeeb2f2ea61e24724bd6317e020ce772acd418aec7 /lisp/mastodon-http.el
parent5073a82d39914e1b753005520219ab949cd13f97 (diff)
parent0b65ec90bd829530fe8bef843f873c3ecc6c0721 (diff)
Merge branch 'develop'
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 af1a9da..086dcec 100644
--- a/lisp/mastodon-http.el
+++ b/lisp/mastodon-http.el
@@ -155,7 +155,7 @@ Pass response buffer to CALLBACK function."
(buffer-substring-no-properties (point) (point-max))
'utf-8)))
(kill-buffer)
- (unless (or (string-equal "" json-string) (null json-string))
+ (unless (or (string-empty-p json-string) (null json-string))
(json-read-from-string json-string))))
(defun mastodon-http--delete (url)