aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-20 10:30:21 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-20 10:30:21 -1000
commitc8ef3a1d10fe170e6a1939bb83e6148c4bdbd72d (patch)
treea3732ebdf267d39baceb6d444b1d2c28856588a7 /lib
parent7466990370952e130b2cd79711f4ed2610c24a1f (diff)
downloadpatchfoo-c8ef3a1d10fe170e6a1939bb83e6148c4bdbd72d.tar.gz
patchfoo-c8ef3a1d10fe170e6a1939bb83e6148c4bdbd72d.zip
Default encode_msgids to true
Diffstat (limited to 'lib')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
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)