aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-15 13:02:01 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-08-15 13:03:27 -1000
commit7466990370952e130b2cd79711f4ed2610c24a1f (patch)
tree7fc70769d2a29b0c768adce7de8436a5fd02433c /lib/app.js
parent3572fc31a1187fcc46a1a4276b94deb17ea05d9e (diff)
downloadpatchfoo-7466990370952e130b2cd79711f4ed2610c24a1f.tar.gz
patchfoo-7466990370952e130b2cd79711f4ed2610c24a1f.zip
Use raw message ids in links by default
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index b122f1d..b12051a 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -29,6 +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),
}
sbot.get = memo({cache: lru(100)}, sbot.get)