aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-27 14:18:30 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-10 21:28:44 -1000
commit23cd085f4cf52dfdd2d00b75c2370cf34508a98a (patch)
treed7fb1dbf9b34623312f49a2f10f8963a49086e2b /lib/app.js
parent0c6c333f1c7b9c3ab062d26a4b2541de055307f6 (diff)
downloadpatchfoo-23cd085f4cf52dfdd2d00b75c2370cf34508a98a.tar.gz
patchfoo-23cd085f4cf52dfdd2d00b75c2370cf34508a98a.zip
Add codeInTextareas option
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 81f58f5..2483357 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -41,6 +41,7 @@ function App(sbot, config) {
img_base: conf.img_base || (base + 'image/'),
emoji_base: conf.emoji_base || (base + 'emoji/'),
encode_msgids: conf.encode_msgids == null ? true : Boolean(conf.encode_msgids),
+ codeInTextareas: conf.codeInTextareas,
}
sbot.get = memo({cache: lru(100)}, sbot.get)