From c8ef3a1d10fe170e6a1939bb83e6148c4bdbd72d Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 20 Aug 2017 10:30:21 -1000 Subject: Default encode_msgids to true --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index b12051a..afa914f 100644 --- a/lib/app.js +++ b/lib/app.js @@ -29,7 +29,7 @@ function App(sbot, config) { blob_base: conf.blob_base || conf.img_base || base, img_base: conf.img_base || base, emoji_base: conf.emoji_base || (base + 'emoji/'), - encode_msgids: Boolean(conf.encode_msgids), + encode_msgids: conf.encode_msgids == null ? true : Boolean(conf.encode_msgids), } sbot.get = memo({cache: lru(100)}, sbot.get) -- cgit v1.2.3