[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 62b973fde6 03/18: spoiler invis: fix respect of s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 62b973fde6 03/18: spoiler invis: fix respect of server setting |
Date: |
Thu, 21 Nov 2024 13:00:17 -0500 (EST) |
branch: elpa/mastodon
commit 62b973fde6a3e71ba64bc40b1fcb0a15ede08341
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>
spoiler invis: fix respect of server setting
---
lisp/mastodon-tl.el | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 8b5bcd15f8..26ad4d9bfc 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1287,13 +1287,15 @@ FILTER is a string to use as a filter warning spoiler
instead."
(if (not (eq 'server cust))
(not cust) ;; opp to setting
;; respect server setting:
- (not
- ;; If something goes wrong reading prefs,
- ;; just return nil so CWs show by default.
- (condition-case nil
- (mastodon-profile--get-preferences-pref
- 'reading:expand:spoilers)
- (error nil))))))
+ ;; If something goes wrong reading prefs,
+ ;; just return t so CWs fold by default.
+ (condition-case nil
+ (if (eq :json-false
+ (mastodon-profile--get-preferences-pref
+ 'reading:expand:spoilers))
+ t
+ nil)
+ (error t)))))
'mastodon-content-warning-body t))))
- [nongnu] elpa/mastodon updated (31557be472 -> cf64163130), ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 37bf064242 01/18: with-toot-item: no-move arg needed!, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 62b973fde6 03/18: spoiler invis: fix respect of server setting,
ELPA Syncer <=
- [nongnu] elpa/mastodon 32963739da 02/18: unfold post: only get cw-invis when cw-range, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 6977dbbf5f 13/18: autoload with-toot-item macro, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon ecb3b3dd69 07/18: profile.el: get-toot-author wrap in toot macro, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon f9c7ad1a89 16/18: remove with-toot-item from --thread., ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon cf64163130 18/18: Merge branch 'develop', ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon de40a8d6cc 17/18: disable grouped notifs by default, so we don't break incompat instances, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 4d5b51ee72 15/18: check instance version for grouped-notifs, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon f152b11732 08/18: separate thread-do function, ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 2af648cb28 04/18: try to respect thread CW fold status on update/more. #619., ELPA Syncer, 2024/11/21
- [nongnu] elpa/mastodon 5b13b69209 10/18: three-way state for thread folded status. #620 (wip), ELPA Syncer, 2024/11/21