aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js
index b8c296e..e8adf3a 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1232,8 +1232,8 @@ Serve.prototype.renderThread = function (opts) {
this.app.render.renderFeeds({
raw: false,
full: this.query.full != null,
- feed: opts.feed,
- msgId: opts.msgId,
+ feed: opts && opts.feed,
+ msgId: opts && opts.msgId,
filter: this.query.filter,
}),
pull.map(u.toHTML)