git ssb

1+

jake / slacktyping



Commit 967755973d9d5182a4851e6d2e47ddd7b8c5dd1a

allow user ID in dnd list

Jake Burden committed on 4/27/2018, 5:42:24 PM
Parent: 9335d17ed8340bd51448ef36b39451818d2c33e5

Files changed

index.jschanged
index.jsView
@@ -23,9 +23,9 @@
2323 })
2424
2525 function write (buf, enc, next) {
2626 var row = JSON.parse(buf.toString())
27- var isDnd = dnd.indexOf(row.channel) > -1
27 + var isDnd = dnd.indexOf(row.channel) > -1 || dnd.indexOf(row.user) > -1
2828 var skip = row.type !== 'user_typing' || isDnd
2929
3030 if (skip) return next()
3131

Built with git-ssb-web