aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-client.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-22 11:06:07 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-22 11:06:07 +0200
commitbeeb8f3b2ebe25e8e3fb92e6f030cec39b818cec (patch)
treecd927217791cec57d88d98decbd57109d89105c6 /lisp/mastodon-client.el
parent377c2ecb0a423ff676f7f2a3695bcb7a7883df57 (diff)
eq for symbols, string= for strings
Diffstat (limited to 'lisp/mastodon-client.el')
-rw-r--r--lisp/mastodon-client.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el
index 493f9df..6e55829 100644
--- a/lisp/mastodon-client.el
+++ b/lisp/mastodon-client.el
@@ -174,7 +174,7 @@ Otherwise return nil."
(let ((username (mastodon-client--form-user-from-vars))
(user-details (mastodon-client--general-read "active-user")))
(when (and user-details
- (equal (plist-get user-details :username) username))
+ (string= (plist-get user-details :username) username))
user-details)))
(defun mastodon-client--active-user ()