Commit 5264137ee26b34066cad458926a86775eb73dddd
Hide vote messages from issue thread rendering
Charles Lehner committed on 4/26/2016, 4:17:34 AMParent: d225840e830b5abae91c5c850227a40775f1ea00
Files changed
lib/repos/issues.js | changed |
lib/repos/issues.js | ||
---|---|---|
@@ -154,8 +154,10 @@ | ||
154 | 154 | ' name="' + u.escape(msg.key) + '">' + |
155 | 155 | new Date(msg.value.timestamp).toLocaleString(req._locale) + '</a>' |
156 | 156 | var c = msg.value.content |
157 | 157 | switch (c.type) { |
158 | + case 'vote': | |
159 | + return '' | |
158 | 160 | case 'post': |
159 | 161 | if (c.root == issue.id) { |
160 | 162 | var changed = this.web.issues.isStatusChanged(msg, issue) |
161 | 163 | return '<section class="collapse">' + |
Built with git-ssb-web