aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-02-20 09:51:05 +0100
committermarty hiatt <martianhiatus@riseup.net>2024-02-20 09:51:05 +0100
commitaf029656fae2b54ea26467423dab7090d170d0a5 (patch)
tree16fac6e190cdc6363f03e139ff998ec088fa827e /lisp/mastodon.el
parent87b0b347b5cb43a571dbccae3fdb2adca6ed8cad (diff)
comment re return-creds-acc
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 142eced..ffeee82 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -299,6 +299,11 @@ See `mastodon-toot-display-orig-in-reply-buffer'.")
(defvar mastodon-profile-credential-account nil)
+;; TODO: the get request in mastodon-http--get-response often returns nil
+;; after waking pc from sleep, not sure how to fix, or if just my pc
+;; interestingly it only happens with this function tho.
+;;we have to use :force to update the credential-account object in case things
+;; have been changed via another client.
(defun mastodon-return-credential-account (&optional force)
"Return the CredentialAccount entity.
Either from `mastodon-profile-credential-account' or from the