aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-async.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-async.el')
-rw-r--r--lisp/mastodon-async.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-async.el b/lisp/mastodon-async.el
index 1fabee2..1fee9ef 100644
--- a/lisp/mastodon-async.el
+++ b/lisp/mastodon-async.el
@@ -305,7 +305,7 @@ Filter the toots using FILTER."
"Test JSON to see if account is local."
(not (string-match-p
"@"
- (cdr (assoc 'acct (cdr (assoc 'account json)))))))
+ (alist-get 'acct (alist-get 'account json)))))
(defun mastodon-async--output-toot (toot)
"Process TOOT and prepend it to the async user-facing buffer."