From 77f4c2770dd7f8e5a3c276ff8e89f465ade2411d Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 11:21:18 +0100 Subject: after widgets added: newline before pinned statuses --- lisp/mastodon-profile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-profile.el b/lisp/mastodon-profile.el index b4a8d4f..c16d88d 100644 --- a/lisp/mastodon-profile.el +++ b/lisp/mastodon-profile.el @@ -614,7 +614,7 @@ FIELDS means provide a fields vector fetched by other means." "Insert each of the PINNED-STATUSES for a given account." (mapc (lambda (pinned-status) (insert - (concat " " + (concat "\n " (propertize " pinned " 'face '(:inherit success :box t)) " ")) -- cgit v1.2.3 From 98c8c3d5c066da085ac540994cc6f8cb1b682a71 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Tue, 29 Oct 2024 11:35:09 +0100 Subject: http: return nil if we render html error --- lisp/mastodon-http.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-http.el b/lisp/mastodon-http.el index 1093de1..47b96fe 100644 --- a/lisp/mastodon-http.el +++ b/lisp/mastodon-http.el @@ -243,7 +243,9 @@ Callback to `mastodon-http--get-response-async', usually ;; ideally we should handle the status code in here rather than ;; this crappy hack? ((string-prefix-p "\n<" json-string) ; html hack - (mastodon-http--render-html-err json-string)) + ;; NB: in this case, process-response returns t!: + (mastodon-http--render-html-err json-string) + nil) ;; return nil instead of t ;; if no json or html, maybe we have a plain string error message ;; (misskey does this, but there are probably better ways to do ;; this): -- cgit v1.2.3 From 5b1d2d1e5e47000f7a70b510bd8ba74c5dd95de0 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 30 Oct 2024 09:30:23 +0100 Subject: add verified tick symbol --- lisp/mastodon-tl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index 5eb52e3..5178a25 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -159,7 +159,7 @@ nil." (favourite . ("⭐" . "F")) (bookmark . ("🔖" . "K")) (media . ("📹" . "[media]")) - (verified . ("" . "V")) + (verified . ("✓" . "V")) (locked . ("🔒" . "[locked]")) (private . ("🔒" . "[followers]")) (direct . ("✉" . "[direct]")) -- cgit v1.2.3 From e97547a1604944cb281d95c3e94848f2b559a16d Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 30 Oct 2024 12:28:26 +0100 Subject: bump tp.el version, bump version --- lisp/mastodon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') diff --git a/lisp/mastodon.el b/lisp/mastodon.el index deee0c1..119a045 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -6,8 +6,8 @@ ;; Author: Johnson Denen ;; Marty Hiatt ;; Maintainer: Marty Hiatt -;; Version: 1.1.2 -;; Package-Requires: ((emacs "28.1") (request "0.3.0") (persist "0.4") (tp "0.1")) +;; Version: 1.1.3 +;; Package-Requires: ((emacs "28.1") (request "0.3.0") (persist "0.4") (tp "0.5")) ;; Homepage: https://codeberg.org/martianh/mastodon.el ;; This file is not part of GNU Emacs. -- cgit v1.2.3