aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-03-25 10:57:51 -0400
committercel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519>2020-03-28 13:55:36 -0400
commit4ee97dfaa67cc8ab77bbac574f0d05c6d60f4e37 (patch)
tree7e85d67e0e97c51f5b3d6bfa80b81ee7d61d4b56 /lib/app.js
parent646e70a38f1daae390271c3ad65c4b6c0d87de5f (diff)
downloadpatchfoo-4ee97dfaa67cc8ab77bbac574f0d05c6d60f4e37.tar.gz
patchfoo-4ee97dfaa67cc8ab77bbac574f0d05c6d60f4e37.zip
Render descriptions as diffs in gathering threads
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 4fac422..b62a1d2 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -30,6 +30,10 @@ var zeros = new Buffer(24); zeros.fill(0)
module.exports = App
+function getKey(msg) {
+ return msg && msg.key
+}
+
function App(sbot, config) {
this.sbot = sbot
this.config = config