From 17ef1093bc0c3f1ba8b842df7a698b9c41161c6e Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 3 Jun 2023 12:44:33 +0200 Subject: fix get user handles profile note test. FIX #472. this way, if in profile note, we just return profile owner, else we might be on a toot in a profile, and so just proceed normally. --- lisp/mastodon-tl.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/mastodon-tl.el') diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el index c791f7e..6c1a771 100644 --- a/lisp/mastodon-tl.el +++ b/lisp/mastodon-tl.el @@ -1908,9 +1908,10 @@ LANGS is the accumulated array param alist if we re-run recursively." ;; fetch 'toot-json: (list (alist-get 'acct (mastodon-tl--property 'toot-json :no-move)))) - ;; profile view, no toots + ;; profile view, point in profile details, poss no toots ;; needed for e.g. gup.pe groups which show no toots publically: - ((mastodon-tl--profile-buffer-p) + ((and (mastodon-tl--profile-buffer-p) + (get-text-property (point) 'profile-json)) (list (alist-get 'acct (mastodon-profile--profile-json)))) (t -- cgit v1.2.3