branch: elpa/mastodon
commit 36d56b7050fa2947ba74080ff4a43be012f6911c
Author: marty hiatt <martianhia...@disroot.org>
Commit: marty hiatt <martianhia...@disroot.org>

    adjust return value of mastodon-client--store. #671
---
 lisp/mastodon-client.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el
index 85bcf6f03e..ea88835728 100644
--- a/lisp/mastodon-client.el
+++ b/lisp/mastodon-client.el
@@ -110,9 +110,8 @@ Make `mastodon-client--fetch' call to determine client 
values."
                  sans-secrets secrets)
     (plstore-save plstore)
     (plstore-close plstore)
-    ;; FIXME: why did we not have to do this before?
-    ;; maybe we never ran into this bug?
-    (mastodon-client--remove-key-from-plstore client)))
+    ;; FIXME: why does client vary here?
+    (append secrets sans-secrets)))
 
 (defun mastodon-client--remove-key-from-plstore (plstore)
   "Remove KEY from PLSTORE."

Reply via email to