[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon 00b1ac63d5 04/18: notifications--render: fallback
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon 00b1ac63d5 04/18: notifications--render: fallback to first id if no status_id. ?? |
Date: |
Mon, 2 Dec 2024 16:00:33 -0500 (EST) |
branch: elpa/mastodon
commit 00b1ac63d5360c30244a7b4405ceb4f578c65747
Author: marty hiatt <martianhiatus@disroot.org>
Commit: marty hiatt <martianhiatus@disroot.org>
notifications--render: fallback to first id if no status_id. ??
---
lisp/mastodon-notifications.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index 804cc7d2a1..93a3d66204 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -476,7 +476,12 @@ NO-GROUP means don't render grouped notifications."
(alist-get 'sample_account_ids g)
(alist-get 'accounts json))
for status = (mastodon-notifications--alist-by-value
- (alist-get 'status_id g) 'id
+ (or (alist-get 'status_id g)
+ ;; if no status_id, just try the first item?
+ (alist-get 'id
+ (car
+ (alist-get 'statuses json))))
+ 'id
(alist-get 'statuses json))
do (mastodon-notifications--format-group-note g status accounts)
(when mastodon-tl--display-media-p
- [nongnu] elpa/mastodon a472f873a3 09/18: add widget to notifs view., (continued)
- [nongnu] elpa/mastodon a472f873a3 09/18: add widget to notifs view., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 1545f3b78e 05/18: get-toot-author: never get booster profile. #630., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon e9f77777dd 11/18: add cycle notif function. FIX #628., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 10be1f9c28 18/18: Merge branch 'develop', ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 95d06a03eb 15/18: flycheck notifs.el, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 241d26dc1f 10/18: notif types: use types[] not exclude_types[], ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon be4a64a4ff 13/18: index, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon ba7e98c29c 17/18: bump, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 08307fee1b 14/18: notifs: require mastodon-widget, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon c08a84f82b 16/18: notifs cycle: buff type mentions or notifs, ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 00b1ac63d5 04/18: notifications--render: fallback to first id if no status_id. ??,
ELPA Syncer <=
- [nongnu] elpa/mastodon e400757d24 03/18: view notifs by type, w completing-read. #628., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 213b5b4f5f 07/18: get-toot-author: use do-if-item, not with-toot-item., ELPA Syncer, 2024/12/02
- [nongnu] elpa/mastodon 2bfd9f097d 08/18: align mastodon keymap, ELPA Syncer, 2024/12/02