aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 4d49dea..c947807 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -1123,7 +1123,9 @@ LONGEST-OPTION is the option whose length determines the formatting."
""))
'face 'font-lock-comment-face)
(let ((str (if (eq .expired :json-false)
- (mastodon-tl--format-poll-expiry .expires_at)
+ (if (eq .expires_at nil)
+ ""
+ (mastodon-tl--format-poll-expiry .expires_at))
"Poll expired.")))
(propertize str 'face 'font-lock-comment-face))
"\n"))))