aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index f749328..2f204fc 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -1717,7 +1717,7 @@ RenderMsg.prototype.webRoot = function (cb) {
RenderMsg.prototype.poll = function (cb) {
var self = this
var closeDate = new Date(self.c.closesAt)
- var details = self.c.pollDetails || {}
+ var details = self.c.pollDetails || self.c.details || {}
var choices = u.toArray(details.choices)
return self.wrap(h('div',
h('h3', {innerHTML: unwrapP(self.render.markdown(self.c.title))}),