diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-10 13:11:26 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-10 13:11:26 +0100 |
commit | 9642d2905cea340231aa7e7735f8088e641567e6 (patch) | |
tree | 318a7fa93f79e71517f2002427ab1064f0e7ee70 /lisp/mastodon-toot.el | |
parent | 1a7ba4adbc5c593de562cf2e320e82b32e66b7ad (diff) | |
parent | 085ade5f958250886e8c96c2538f689a8278ec02 (diff) |
Merge branch 'headers' into develop
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r-- | lisp/mastodon-toot.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 30f4a25..f6a0f0a 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -204,12 +204,12 @@ send.") nil t))) (mastodon-profile--update-preference "privacy" vis :source))) -(defun mastodon-toot--get-max-toot-chars (&optional _no-toot) +(defun mastodon-toot--get-max-toot-chars (&optional no-toot) "Fetch max_toot_chars from `mastodon-instance-url' asynchronously. NO-TOOT means we are not calling from a toot buffer." (mastodon-http--get-json-async (mastodon-http--api "instance") - 'mastodon-toot--get-max-toot-chars-callback 'no-toot)) + 'mastodon-toot--get-max-toot-chars-callback no-toot)) (defun mastodon-toot--get-max-toot-chars-callback (json-response &optional no-toot) |