aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index c44ac01..38aee76 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -354,7 +354,9 @@ also render the html"
"&"
"?")
"max_id="
- (number-to-string id)))))
+ (if (numberp id )
+ (number-to-string id)
+ id)))))
(mastodon-http--get-json url)))
;; TODO
@@ -367,7 +369,9 @@ also render the html"
"&"
"?")
"since_id="
- (number-to-string id)))))
+ (if (numberp id)
+ (number-to-string id)
+ id)))))
(mastodon-http--get-json url)))
(defun mastodon-tl--property (prop &optional backward)