From 4ee97dfaa67cc8ab77bbac574f0d05c6d60f4e37 Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 25 Mar 2020 10:57:51 -0400 Subject: Render descriptions as diffs in gathering threads --- lib/app.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/app.js') 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 -- cgit v1.2.3