aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js
index 7d686a4..71426c3 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -4622,7 +4622,7 @@ Serve.prototype.composer = function (opts, cb) {
function closeIssueCheckbox(cb) {
var container = h('div')
- if (opts.root) self.getMsgDecryptedMaybeOoo(opts.root, function (err, rootMsg) {
+ if (opts.root && opts.root[0] === '%') self.getMsgDecryptedMaybeOoo(opts.root, function (err, rootMsg) {
if (err) return console.trace(err), cb(null)
var rootC = rootMsg && rootMsg.value.content && rootMsg.value.content
if (!rootC) return cb(null)
@@ -4642,7 +4642,7 @@ Serve.prototype.composer = function (opts, cb) {
function mentionAttendeesCheckbox(cb) {
var container = h('div')
- if (opts.root) self.getMsgDecryptedMaybeOoo(opts.root, function (err, rootMsg) {
+ if (opts.root && opts.root[0] === '%') self.getMsgDecryptedMaybeOoo(opts.root, function (err, rootMsg) {
if (err) return console.trace(err), cb(null)
var rootC = rootMsg && rootMsg.value.content && rootMsg.value.content
if (!rootC) return cb(null)