[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mastodon b591685760 44/47: update: thread-id only if threa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mastodon b591685760 44/47: update: thread-id only if thread |
Date: |
Fri, 13 Oct 2023 19:00:58 -0400 (EDT) |
branch: elpa/mastodon
commit b591685760865ad3da44e40d7e0546b11f73743d
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>
update: thread-id only if thread
---
lisp/mastodon-tl.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 7432f2decc..a45b2fec60 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -2583,12 +2583,13 @@ This location is defined by a non-nil value of
(defun mastodon-tl--update ()
"Update timeline with new toots."
(interactive)
+ ;; FIXME: handle update for search and trending buffers
(let* ((endpoint (mastodon-tl--endpoint))
- (update-function (mastodon-tl--update-function))
- (thread-id (mastodon-tl--property 'toot-id)))
+ (update-function (mastodon-tl--update-function)))
;; update a thread, without calling `mastodon-tl--updated-json':
(if (mastodon-tl--buffer-type-eq 'thread)
- (funcall update-function thread-id)
+ (let ((thread-id (mastodon-tl--property 'toot-id)))
+ (funcall update-function thread-id))
;; update other timelines:
(let* ((id (mastodon-tl--newest-id))
(params (mastodon-tl--update-params))
- [nongnu] elpa/mastodon beb877d523 19/47: add basic limit/offset search params, (continued)
- [nongnu] elpa/mastodon beb877d523 19/47: add basic limit/offset search params, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon c67d1f80f6 24/47: unfuck non-search pagination fucked by search pagination, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon b75760867b 32/47: docstrings autoloads, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon 51352ce53d 27/47: set buffer spec explicitly for acct search, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon ff05cd29dd 29/47: header-line-format no comment face, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon 2cb0a5012a 47/47: bump, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon fedba9ed92 38/47: autoload, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon a623a6dc66 36/47: fix reporting rules tests, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon 90bcebbd17 40/47: tl autoload for search pagination, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon b01797b702 37/47: work on tl--more*: msg if no more results, or if load full thread, ELPA Syncer, 2023/10/13
- [nongnu] elpa/mastodon b591685760 44/47: update: thread-id only if thread,
ELPA Syncer <=
- [nongnu] elpa/mastodon b78e91483a 46/47: fix search statuses from profile, ELPA Syncer, 2023/10/13