diff options
| author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-20 14:44:22 +0200 | 
|---|---|---|
| committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-09-20 14:44:22 +0200 | 
| commit | 9420b5ee57eeab7a62297cbf56c37f979c46a02b (patch) | |
| tree | 999793591ba7710cd09c2794026425c694acc4c3 | |
| parent | 98606cc26e650ddd98e5e6d87f44ff9585a76e17 (diff) | |
FIX getting of 'parent-toot properties in mastodon-toot--reply
| -rw-r--r-- | lisp/mastodon-toot.el | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el index 79a99ad..076405c 100644 --- a/lisp/mastodon-toot.el +++ b/lisp/mastodon-toot.el @@ -774,7 +774,9 @@ Customize `mastodon-toot-display-orig-in-reply-buffer' to display  text of the toot being replied to in the compose buffer."    (interactive)    (let* ((toot (mastodon-tl--property 'toot-json)) -         (parent (mastodon-tl--property 'parent-toot)) ; for new notifs handling +         ;; NB: we cannot use mastodon-tl--property for 'parent-toot +         ;; because if it doesn't have one, it is fetched from next toot! +         (parent (get-text-property (point) 'parent-toot)) ; for new notifs handling           (id (mastodon-tl--as-string                (mastodon-tl--field 'id (or parent toot))))           (account (mastodon-tl--field 'account toot))  | 
