A simple patch to mastodon.el that shows if a user is blocking you when using that user's profile
modified lisp/mastodon-profile.el @@ -727,7 +727,7 @@ MAX-ID is a flag to include the max_id pagination parameter." ;; insert relationship (follows) (let-alist relationships (let* ((followsp (mastodon-profile--follows-p - (list .requested_by .following .followed_by))) + (list .requested_by .following .followed_by .blocked_by))) (rels (mastodon-profile--relationships-get .id)) (langs-filtered (if-let ((langs (alist-get 'languages rels))) (concat " (" @@ -742,6 +742,8 @@ MAX-ID is a flag to include the max_id pagination parameter." " | FOLLOWS YOU") (when (eq .requested_by t) " | REQUESTED TO FOLLOW YOU") + (when (eq .blocked_by 't) + " | BLOCKS YOU") "\n\n") 'success) "")))) ; for insert callConversation
Notices
-
Embed this notice
Yuchen Pei (semi@peister.org)'s status on Sunday, 24-Nov-2024 12:01:23 JST Yuchen Pei
-
Embed this notice
Yuchen Pei (semi@peister.org)'s status on Sunday, 24-Nov-2024 18:02:42 JST Yuchen Pei
And here's a patch that displays a warning when some mentioned users in a composed reply are from instances that have shadow-banned (i.e. remotely suspended) you, in which case they would not be notified or see your reply normally
https://g.ypei.me/mastodon.el.git/commit/?id=888201d9f00019799f235d338737b33f5bce0c39
#emacs
-
Embed this notice