git ssb

10+

Matt McKegg / patchwork



Commit 36e9d99a2b067d300cb2d88320e7fd47128ad134

ignore about messages with no target

Matt McKegg committed on 11/8/2016, 5:41:49 AM
Parent: 17fd4824c74af975058e6ff58183c3d8a13aadcd

Files changed

modules/about.jschanged
modules/about.jsView
@@ -13,9 +13,9 @@
1313 var avatar_name = plugs.first(exports.avatar_name = [])
1414 var avatar_link = plugs.first(exports.avatar_link = [])
1515
1616 exports.message_content = function (msg) {
17- if(msg.value.content.type !== 'about') return
17 + if(msg.value.content.type !== 'about' || !msg.value.content.about) return
1818
1919 if(!msg.value.content.image && !msg.value.content.name)
2020 return
2121

Built with git-ssb-web