aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/serve.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/serve.js b/lib/serve.js
index dfb68e2..26637dc 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -591,12 +591,14 @@ Serve.prototype.logbook2 = function (ext) {
filter: q.filter,
}
- channels.getMessages(this.app.sbot, "logbook", opts, this, function(messageStream, serve) {
+ var channelAndTag = "logbook"
+
+ channels.getMessages(this.app.sbot, channelAndTag, opts, this, function(messageStream, serve) {
pull(messageStream,
serve.renderThreadPaginated(opts, null, q),
serve.wrapMessages(),
- serve.wrapPublic(),
- serve.wrapPage('logbook'),
+ serve.wrapChannel(channelAndTag),
+ serve.wrapPage(channelAndTag),
serve.respondSink(200, {
'Content-Type': ctype(ext)
})