Permalink
Browse files

Fix handling of invalid recps on private messages

thanks @clehner for the patch!
  • Loading branch information...
mmckegg committed Jan 11, 2018
1 parent 2d8c9a0 commit 1b12a6e637ed46e490143b6969204eed33886975
Showing with 3 additions and 1 deletion.
  1. +3 −1 plugs/message/html/meta/private.js
@@ -13,7 +13,9 @@ exports.create = (api) => {
return nest('message.html.meta', function privateMeta (msg) {
if (msg.value.private) {
return h('span.private', map(msg.value.content.recps, id => {
id = msgs.link(id, 'feed').link
const feed = msgs.link(id, 'feed')
if (!feed) return
id = feed.link
return h('a', {
href: id,
title: api.about.obs.name(id)

0 comments on commit 1b12a6e

Please sign in to comment.