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 66452dd..9acf51a 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -267,7 +267,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
@@ -280,7 +282,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)