From 05865706da36f4f3f7c2d03df4065ffdd9911a69 Mon Sep 17 00:00:00 2001 From: cel Date: Mon, 28 Jan 2019 19:31:32 -1000 Subject: Make nav links configurable --- lib/app.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 73b313d..e0b4417 100644 --- a/lib/app.js +++ b/lib/app.js @@ -79,6 +79,23 @@ function App(sbot, config) { this.serveSsbNpmRegistry = SsbNpmRegistry.respond(this.sbot, this.config) this.monitorBlobWants() + this.navLinks = conf.nav || [ + 'new', + 'public', + 'private', + 'mentions', + 'peers', + this.sbot.status && 'status', + 'channels', + 'tags', + 'friends', + 'search', + 'live', + 'compose', + 'emojis', + 'self', + 'searchbox' + ] } App.prototype.go = function () { -- cgit v1.2.3